View a surface plot from the top

234 visualizaciones (últimos 30 días)
Lisa Justin
Lisa Justin el 21 de Jun. de 2012
Respondida: Daniele Nigosanti el 21 de Jun. de 2020
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

Respuesta aceptada

Lisa Justin
Lisa Justin el 1 de Ag. de 2012
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.

Más respuestas (3)

Walter Roberson
Walter Roberson el 17 de Jul. de 2012
pcolor() is surf() viewed from the top.

Sean de Wolski
Sean de Wolski el 17 de Jul. de 2012
peaks;
view(2)

Daniele Nigosanti
Daniele Nigosanti el 21 de Jun. de 2020
how do you surf a three-dimensional sub matrix?

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by