how can i rotate a figure without using the figure window but using code
51 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Benutzer Name
el 16 de Ag. de 2018
Comentada: DEVI
el 11 de Sept. de 2024
Hello everybody,
I have a .fig file with an object. Now I want to rotate and translate this object in the figure but I don't want to use the buttons from the figure window. I tried to write the code for this problem but I had no success until now. Do I have to use the "set" function ?
0 comentarios
Respuesta aceptada
jonas
el 16 de Ag. de 2018
You can change the 'view' to rotate, for example
set(gca,'view',[90 90])
You can then work with the 'xlim' and 'ylim' to zoom or translate.
1 comentario
Ver también
Categorías
Más información sobre Interactions, Camera Views, and Lighting 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!