Zoom figure generated by 'patch'
4 views (last 30 days)
Show older comments
I have the following plot generated using 'patch'
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1347979/image.png)
and I want to automatically plot it for a region around the arc so that when I plot the same data for different parameters I do not need manually zoomed it, especially because this new plot will unlikely have the same data.
0 Comments
Answers (1)
Walter Roberson
on 6 Apr 2023
Internally, zooming is accomplished by changing the axis XLim and YLim properties. The zoom-with-mouse tools come down to changing the limits and storing information about the history of the zooming so that the user can undo step by step to get back to previous zoom levels.
0 Comments
See Also
Categories
Find more on Visual 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!