MATLAB Answers

zoom plot into plot

31 views (last 30 days)
manish kumar
manish kumar on 23 Oct 2019
Answered: 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

Sebastian Bomberg
Sebastian Bomberg on 23 Oct 2019
Are you trying to plot an inset, i.e. smaller axes overlayed on bigger axes?

Sign in to comment.

Answers (1)

Bjorn Gustavsson
Bjorn Gustavsson on 23 Oct 2019
Maybe this file exchange contribution does what you need: zoomplot
HTH

  0 Comments

Sign in to comment.

Sign in to answer this question.