Axis rotation problem on the figure window

조회 수: 4 (최근 30일)
ser
ser 2022년 6월 25일
댓글: Voss 2022년 6월 26일
I plot a stickman using "plot3d" command and then view from xz,xy,yz planes by using "view" command.
The problem is that I can't rotate the stickman to be Z axis on horizontal direction and Y axis to be in vertical direction.
I used "view(Az,El)" command for various arguments and "Rotate 3D" option on figure window but it is not solved.
I need to do operation which I show on the figure on the attachment.
Any help is appreciated.

채택된 답변

Voss
Voss 2022년 6월 25일
편집: Voss 2022년 6월 25일
f = openfig('Axis_rotation_problem.fig');
figure(f)
view([90 0])
camroll(90)
  댓글 수: 2
ser
ser 2022년 6월 26일
This answer resolved my problem. I was used to view[(90,0)] but I could not think to use camroll(90).
Special thanks for your immediate reply.
Voss
Voss 2022년 6월 26일
You're welcome!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

태그

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by