3D plot: XY axes plane at Z=0

4 visualizaciones (últimos 30 días)
Scott
Scott el 16 de Abr. de 2014
Comentada: Scott el 19 de Abr. de 2014
When I create a 3D plot, e.g:
[x,y] = meshgrid([-2:.2:2]);
Z = x.*exp(-x.^2-y.^2);
surf(x,y,Z,gradient(Z));
The plane formed by the XY axes is drawn at Z=-0.5; can this be moved to Z=0, or at least the X,Y labels drawn at Z=0?

Respuesta aceptada

Antony
Antony el 16 de Abr. de 2014
  1 comentario
Scott
Scott el 19 de Abr. de 2014
Thanks Antony, got it sorted, eventually.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Axis Labels en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by