I want to view a surface plot from the top and i used view(0,90) but still can see the plot except i rotate it. please i would like the yaxis to be vertical and the xaxis horizontal without having to rotate it. the colorbar indicates the zaxis. any ideas

 Akzeptierte Antwort

Lisa Justin
Lisa Justin am 1 Aug. 2012

3 Stimmen

starting with a value lower than zero for the y-axis fixed it.
axis([0 1000 -0.001 110 0 110])
view(0,90)
With this i didn't need to rotate the plot each time.

Weitere Antworten (3)

Walter Roberson
Walter Roberson am 17 Jul. 2012

5 Stimmen

pcolor() is surf() viewed from the top.
Daniele Nigosanti
Daniele Nigosanti am 21 Jun. 2020

0 Stimmen

how do you surf a three-dimensional sub matrix?

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by