How to zoom a figure and show the details?
Show older comments
Good day,
How can I zoom a figure to show the details and include the zoomed area of the figure within the original figure?
Accepted Answer
More Answers (1)
Walter Roberson
on 21 Jul 2024
0 votes
Create a second axes. copyobj() the content of the first axes to the second axes. Turn zoom on for the second axes.
Note: it is more work if the zoomed in version has to react to changes in the original plot.
2 Comments
Mpho Lencwe
on 22 Jul 2024
Walter Roberson
on 22 Jul 2024
Are you working with figure() objects, or are you working with uifigure() objects (such as App Designer) ?
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!
