Why am I unable to zoom out of a figure by right-clicking on the figure window when the "zoom" property is "on" in MATLAB 7.0 (R14)?

3 views (last 30 days)
In previous versions of MATLAB, I was able to zoom out of a figure simply by right-clicking on the figure when the "zoom" property is "on". Now, when I right-click on the figure, I receive several zoom options.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
Starting from MATLAB 7.3 (R2006b), it is possible to use the RIGHTCLICKACTION property of the zoom object to revert to the old behavior of the using the mouse right-click to zoom out of a figure. The following example illustrates this:
surf(peaks)
h = zoom(gcf)
set(h,'rightclickaction','inversezoom')
If you are using a previous version of MATLAB, to work around this issue, hold down the Alt-key when left-clicking on the figure, and the figure will automatically be zoomed out.

More Answers (0)

Categories

Find more on Visual Exploration in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!