How to rotate a contour plot 180 degrees?

18 Ansichten (letzte 30 Tage)
Stelios Fanourakis
Stelios Fanourakis am 14 Mär. 2018
Beantwortet: Jyotish Robin am 21 Mär. 2018
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

Antworten (1)

Jyotish Robin
Jyotish Robin am 21 Mär. 2018
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

Kategorien

Mehr zu Contour Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by