3D axes viewport orientation

I am trying to change the viewpoint of my 3D graph as shown in the following picture (left is what I have now, right is what I want to have):
How can I do this? Thank you!

回答 (1 件)

Star Strider
Star Strider 2014 年 12 月 13 日

0 投票

The easiest way is just to plot it that way:
[X,Y] = meshgrid(-1:0.1:1);
Z = X.^2 + Y.^2;
figure(1)
surf(Y, Z, X)
xlabel('Y')
ylabel('Z')
zlabel('X')

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

質問済み:

2014 年 12 月 13 日

回答済み:

2014 年 12 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by