필터 지우기
필터 지우기

How to rotate a contour plot 180 degrees?

조회 수: 6 (최근 30일)
Stelios Fanourakis
Stelios Fanourakis 2018년 3월 14일
답변: Jyotish Robin 2018년 3월 21일
Hi
I have a contour plot (2d) and I need to just rotate it 180 degrees (upside down) without nothing else to change.
Can you please help me?
Thank you

답변 (1개)

Jyotish Robin
Jyotish Robin 2018년 3월 21일
Hi!
You might want to use the "view" function which changes the viewpoint. For example:
>> plot([ones(1,5) zeros(1,5)]);
>> view(180,90);
You can refer to the following documentation page for more information: http://www.mathworks.com/help/matlab/ref/view.html
For 3-D plots you can also use "rotate3d" function: http://www.mathworks.com/help/matlab/ref/rotate3d.html
Thanks,
Jyotish

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by