MATLAB Answers

0

zoom plot into plot

Asked by manish kumar on 23 Oct 2019
Latest activity Answered by Bjorn Gustavsson on 23 Oct 2019
i am plotting portion of zoom into the plot like
data a,b,c are already loaded in the workspace
plot(a)
hold on
plot(b)
hold on
plot(c)
after plooting this figure
i want to plot the zoom portion of figure
whereas zoom portion limits are on x=2.5 to 3
and y=92.5 to 95
can anyone help me out with the proper code of popup or zoomout

  1 Comment

Are you trying to plot an inset, i.e. smaller axes overlayed on bigger axes?

Sign in to comment.

1 Answer

Answer by Bjorn Gustavsson on 23 Oct 2019

Maybe this file exchange contribution does what you need: zoomplot
HTH

  0 Comments

Sign in to comment.