Magnifying a Segment of Plot in MATLAB Figure

8 views (last 30 days)
Hi,
I tried to create a magnified part of a plot3 figure but unfortunately, I couldn't find any options for how to make it, like on the image below. I know that there are options for how to magnify a part of a figure but I have to create a magnification appearance like this! I needed to use different programs to do this, but I want to create it in MATLAB.
Do you have any idea how can I do this?
Thank you so much for your helpful comments!
  2 Comments
Kovacs Mario
Kovacs Mario on 21 Aug 2023
Moved: Dyuman Joshi on 25 Aug 2023
Thank you so much!
It is so helpful!
Do you have any idea how to implement this method on Patch used figures?

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 21 Aug 2023
Edited: Image Analyst on 25 Aug 2023
I'm attaching some of my demos where I insert axes into axes as small insets.
Adapt the "inset_plot_within_another_plot.m" file to do what you want.

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!