Inadvertently activating disabled axes interactions

조회 수: 4 (최근 30일)
Spencer Chen
Spencer Chen 2021년 10월 15일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Visual Exploration에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by