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 个)

view(2)
Note: pcolor() is the same as surf() followed by changing the view to be from the top.
Bruno
Bruno 2011-10-10
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 个评论

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