Axis rotation problem on the figure window

4 views (last 30 days)
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.

Accepted Answer

Voss
Voss on 25 Jun 2022
Edited: Voss on 25 Jun 2022
f = openfig('Axis_rotation_problem.fig');
figure(f)
view([90 0])
camroll(90)
  2 Comments
ser
ser on 26 Jun 2022
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Tags

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!