how can you see a surface plot from the top?

I have a 3-dimension surface plot where (x,y) is the position and z or h is the height. The plot is an isometric view but how can I modify so it views the plot from the top? so that it looks like a 2-D surface plot with a color contour which would be the height

回答 (2 件)

Walter Roberson
Walter Roberson 2011 年 10 月 10 日

0 投票

view(2)
Note: pcolor() is the same as surf() followed by changing the view to be from the top.
Bruno
Bruno 2011 年 10 月 10 日

0 投票

thanks a lot, one more question, is it possible to remove the mesh lines or raise the density of the plot so that mesh lines are removed?

1 件のコメント

Walter Roberson
Walter Roberson 2011 年 10 月 10 日
set() the EdgeColor property to 'none'. See http://www.mathworks.com/help/techdoc/ref/surface_props.html

サインインしてコメントする。

カテゴリ

質問済み:

2011 年 10 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by