Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

View a surface plot from the top

Asked by Lisa Justin on 21 Jun 2012

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

0 Comments

Lisa Justin

Tags

Products

No products are associated with this question.

3 Answers

Answer by Lisa Justin on 1 Aug 2012
Accepted answer

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.

0 Comments

Lisa Justin
Answer by Walter Roberson on 17 Jul 2012

pcolor() is surf() viewed from the top.

0 Comments

Walter Roberson
Answer by Sean de Wolski on 17 Jul 2012
peaks;
view(2)

0 Comments

Sean de Wolski

Contact us