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

 採用された回答

Lisa Justin
Lisa Justin 2012 年 8 月 1 日

3 投票

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.

その他の回答 (3 件)

Walter Roberson
Walter Roberson 2012 年 7 月 17 日

5 投票

pcolor() is surf() viewed from the top.
Daniele Nigosanti
Daniele Nigosanti 2020 年 6 月 21 日

0 投票

how do you surf a three-dimensional sub matrix?

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by