pan cancels WindowKeyPressFcn callback...
Mostrar comentarios más antiguos
Hi,
I noticed that after using the pan function, WindowKeyPressFcn callback doesn't work anymore...
Example:
function someFunction
Fig = figure('WindowKeyPressFcn', @buttonPressed_Callback);
plot(rand(1,10))
pan on
function buttonPressed_Callback(handle, event)
key = event.Key
end
end
How can I reactivate the WindowKeyPressFcn callback after the pan command?
Thanks,
Razvan
Respuesta aceptada
Más respuestas (1)
Sean de Wolski
el 10 de Mayo de 2012
0 votos
Hi Razvan,
I think this thread might interest you:
1 comentario
Razvan
el 10 de Mayo de 2012
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!