Inadvertently activating disabled axes interactions

2 visualizzazioni (ultimi 30 giorni)
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

Risposte (0)

Categorie

Scopri di più su Graphics Object Programming in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by