Inadvertently activating disabled axes interactions
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!