3D plot: XY axes plane at Z=0

12 ビュー (過去 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 日
  1 件のコメント
Scott
Scott 2014 年 4 月 19 日
Thanks Antony, got it sorted, eventually.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Objects についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by