3D plot: XY axes plane at Z=0

34 次查看(过去 30 天)
Scott
Scott 2014-4-16
评论: Scott 2014-4-19
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?

采纳的回答

Antony
Antony 2014-4-16

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by