3D axes viewport orientation
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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):
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146441/image.png)
How can I do this? Thank you!
0 Kommentare
Antworten (1)
Star Strider
am 13 Dez. 2014
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')
0 Kommentare
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!