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.

 Respuesta aceptada

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

2 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Just for fun en Centro de ayuda y File Exchange.

Productos

Versión

R2017b

Etiquetas

Preguntada:

ser
el 25 de Jun. de 2022

Comentada:

el 26 de Jun. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by