pan cancels WindowKeyPressFcn callback...
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
Sean de Wolski
am 10 Mai 2012
0 Stimmen
Hi Razvan,
I think this thread might interest you:
1 Kommentar
Razvan
am 10 Mai 2012
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!