Borrar filtros
Borrar filtros

Inadvertently activating disabled axes interactions

3 visualizaciones (últimos 30 días)
Spencer Chen
Spencer Chen el 15 de Oct. de 2021
Hi, I have a problem with plots where I have disabled axtoolbar and default interactions. I have customized mouse click callbacks on these plots with the ButtonDownFcn, but sometime clicking will change mouse mode to one of the interactions -- tooltip, zoom, pan, etc.
Question 1:
Am I properly turning both toolbar and interactions off for this plot with this code?
disableDefaultInteractivity(app.ui.ax.navpow);
axtoolbar(app.ui.ax.navpow);
The toolbar is definitely not visible, and ButtonDownFcn is capturing my mouse clicks.
Questions 2:
When I'm inadvertently entered one of the interaction states, how can I get out of it? I have tried right clicking but there is not "exit" option in the context menu. 'Esc' key has not effect...
Blessings,
Spencer

Respuestas (0)

Categorías

Más información sobre Graphics Object Programming en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by