Are there hot keys (shortcuts) that enable interactive mouse controlled pan and zoom for a figure?
Show older comments
I have MANY global satellite data swaths that are displayed with geoshow() output. We need to zoom into specific regions quickly and pan around in those areas with mouse (not keyboard) input. The behavior of the "zoom-in" magnifying glass and "pan" hand that are enabled from the Tools pull down menu of the default File toolbar for figures is perfect. What i'm looking for is a way to enable those controls (and switch between them) quickly with hotkeys instead of having to access that Tools pull down for every mode change.
Docs describe keyboard controls for zoom in and pan. Neither work in my figure output and we want the mouse (vs. keyboard) control anyway.
Thanks!
1 Comment
Mike Wilson
on 2 Mar 2015
Accepted Answer
More Answers (1)
Sean de Wolski
on 24 Feb 2015
0 votes
The techniques in this might interest you
1 Comment
Sean de Wolski
on 2 Mar 2015
I don't know if that's possible or not. Attached I have what looks like it should work and it does for turning them on. However, the zoom/pan operation changes the 'KeyReleaseFcn' so it looks like you still have to disable it manually without a Hot Key.
Categories
Find more on Data Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!