How to know how much I rotated a figure?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Salad Box
el 18 de En. de 2023
Hi,
Matlab plotted my data points like this:
Then I manually rotated the figure to this:
Is there a way to record the rotation details, such as angles, moving forwards/backward, left/right, up/down, I don't know, just anything describing the rotation? So that I can automatically apply the same rotation to other figures so that objects in all my figures will facing the same way?
0 comentarios
Respuesta aceptada
DGM
el 18 de En. de 2023
You should be able to query and set the camera position using view();
[az el] = view(); % get position
% ...
view(az,el); % set position
1 comentario
Más respuestas (0)
Ver también
Categorías
Más información sobre 3-D Scene Control en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!