pan cancels WindowKeyPressFcn callback...
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
Sean de Wolski
le 10 Mai 2012
0 votes
Hi Razvan,
I think this thread might interest you:
1 commentaire
Razvan
le 10 Mai 2012
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!