keypress callback in figure
1 view (last 30 days)
Show older comments
I have written a callback for capturing some keyboard press inside a figure and performing some actions on my plot. This callback works fine except when one of the togglebutton of the figure tool toolbar is selected (for instance Pan).
How can I have my callback also working when these togglebuttons are on ?
0 Comments
Accepted Answer
Rik
on 22 Aug 2018
As far as I know you can't. Interactive tools like pan and rotate3d block most of the callbacks (you can't even set them when those modes are active). The only 'solution' would be to not have those tools active.
0 Comments
More Answers (0)
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!