- You can't click-and-drag with zoom out, i.e., you can't select a region that's larger than the current view. Zoom out happens when you click, and subsequent dragging has no effect.
- You have to zoom in or pan before you can zoom out. That is, by default MATLAB won't let you zoom out beyond the initial limits of the plot.
How does the zoom out feature work?
4 views (last 30 days)
Show older comments
On a uiaxes plot, the zoom in tool (magnifying glass with a + sign) works quite nicely. Having chosen that tool, I drag a rectangle across the plot, and it zooms in.
There is also a zoom out tool (magnifying glass with a - sign). When I choose that tool and then click or drag on the plot, ABSOLUTELY NOTHING HAPPENS. What is the secret to it? How does this tool work?
0 Comments
Answers (2)
Voss
on 12 Feb 2024
Two things to be aware of:
2 Comments
Austin M. Weber
on 12 Feb 2024
@Ken, The above is correct. In addition to this, if you want to return to the original plot size after zooming in/out, you can click the home icon (looks like a house), and that will revert the plot to its default state.
Walter Roberson
on 12 Feb 2024
As you zoom in, the tools internally keep a history of your positions. When you zoom out, the tool pops the previous position off and restores it.
0 Comments
See Also
Categories
Find more on Debugging and Analysis 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!