Inadvertently activating disabled axes interactions

4 Ansichten (letzte 30 Tage)
Spencer Chen
Spencer Chen am 15 Okt. 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

Antworten (0)

Kategorien

Mehr zu Visual Exploration finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by