keypress callback in figure

2 ビュー (過去 30 日間)
pascal plisson
pascal plisson 2018 年 8 月 22 日
回答済み: Rik 2018 年 8 月 22 日
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 ?

採用された回答

Rik
Rik 2018 年 8 月 22 日
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 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by