Lock figure axes/position

25 visualizaciones (últimos 30 días)
Dominik Müller
Dominik Müller el 30 de Sept. de 2020
Respondida: Dominik Müller el 1 de Oct. de 2020
Hi folks,
I have a GUI which creates a figure. By clicking a button, the figure got zoomed in on a special point selected. I want the figure to be locked on that position so that the user can't change the position. All I want to allow the user is to rotate on that specific position but noch change the values of x,y,z.
Is there a way to lock/fix the position?
Thanks in advance.

Respuesta aceptada

Dominik Müller
Dominik Müller el 1 de Oct. de 2020
I solved the problem with the axtoolbar command. The pan option is still available on the menubar, but no longer on the toolbar.
I followed this link: Control Chart Interactivity

Más respuestas (1)

Mario Malic
Mario Malic el 30 de Sept. de 2020
Here is a question with two answers that will help.
This is the option rotateInteraction.
  2 comentarios
Dominik Müller
Dominik Müller el 1 de Oct. de 2020
Editada: Dominik Müller el 1 de Oct. de 2020
Thanks for your answer. But this is not exactly what I'm looking for.
I solved the problem with the axtoolbar command. The pan option is still available on the menubar, but no longer on the toolbar.
I followed this link: Control Chart Interactivity
Mario Malic
Mario Malic el 1 de Oct. de 2020
Editada: Mario Malic el 1 de Oct. de 2020
Move your comment to the answer section and accept it, thanks in advance.

Iniciar sesión para comentar.

Categorías

Más información sobre Interaction Control en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by