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

Antworten (2)

Walter Roberson
Walter Roberson am 10 Okt. 2011

0 Stimmen

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

0 Stimmen

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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 10 Okt. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by