keypress callback in figure

1 visualización (últimos 30 días)
pascal plisson
pascal plisson el 22 de Ag. de 2018
Respondida: Rik el 22 de Ag. de 2018
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 ?

Respuesta aceptada

Rik
Rik el 22 de Ag. de 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.

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by