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.

 Akzeptierte Antwort

Voss
Voss am 25 Jun. 2022
Bearbeitet: Voss am 25 Jun. 2022
f = openfig('Axis_rotation_problem.fig');
figure(f)
view([90 0])
camroll(90)

2 Kommentare

ser
ser am 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.
Voss
Voss am 26 Jun. 2022
You're welcome!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Just for fun finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2017b

Tags

Gefragt:

ser
am 25 Jun. 2022

Kommentiert:

am 26 Jun. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by