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