Zoom figure generated by 'patch'

2 views (last 30 days)
AXL
AXL on 6 Apr 2023
Answered: Walter Roberson on 6 Apr 2023
I have the following plot generated using 'patch'
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.

Answers (1)

Walter Roberson
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.

Categories

Find more on Data Exploration in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!