pan cancels WindowKeyPressFcn callback...
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (1)
Sean de Wolski
il 10 Mag 2012
0 voti
Hi Razvan,
I think this thread might interest you:
1 Commento
Razvan
il 10 Mag 2012
Categorie
Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!