Remove zoom from axes

7 visualizaciones (últimos 30 días)
Dan Frederiksen
Dan Frederiksen el 30 de Jul. de 2021
Respondida: J. Alex Lee el 30 de Jul. de 2021
I have a normal MATLAB figure, with a number of axes. Two of the axes are interactive numberaxes and the zoomfunction is a constant annoyance for the users. My question is: How do I remove zoom from theese two axes, without removing the zoom from all the other axes ?

Respuestas (1)

J. Alex Lee
J. Alex Lee el 30 de Jul. de 2021
This should be a good entrypoint:
Each Axes has its own Interactions property, whose value is a list of interaction objects, so you can be pretty granular about what interactions are enabled.
One of these interactions is "RulerPanInteraction", which appears to be what you want to remove.

Categorías

Más información sobre Visual Exploration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by