Axis rotation problem on the figure window

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

f = openfig('Axis_rotation_problem.fig');
figure(f)
view([90 0])
camroll(90)

2 Comments

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.
You're welcome!

Sign in to comment.

More Answers (0)

Categories

Find more on Just for fun in Help Center and File Exchange

Products

Release

R2017b

Tags

Asked:

ser
on 25 Jun 2022

Commented:

on 26 Jun 2022

Community Treasure Hunt

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

Start Hunting!