3D axes viewport orientation
조회 수: 1 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
답변 (1개)
Star Strider
2014년 12월 13일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!