Clear Filters
Clear Filters

Enlarge step response plot

8 views (last 30 days)
Rakesh Jain
Rakesh Jain on 11 Jul 2017
Edited: Image Analyst on 12 Jul 2017
I have a step response plot of two transfer functions. Both are almost coincident,so I want to enlarge a specific portion of the plot (and make it small in size) and show it on the same original plot by an aroow. How shall I do it? Please check this image. What I need to do is something like what is given in image i.e magnify small part

Accepted Answer

Rakesh Jain
Rakesh Jain on 12 Jul 2017
Edited: Image Analyst on 12 Jul 2017
I got the answer.
On figure magnifier does this job. It is given here
Besides this there is a YouTube video explaining this procedure.

More Answers (1)

Image Analyst
Image Analyst on 11 Jul 2017
Try using the Position, OuterPosition, and InnerPosition properties to adjust the size of your graph
ax = gca;
ax.Units = 'normalized';
ax.Position = [.2, .2, .6, .7]; % Whatever....
  3 Comments
Image Analyst
Image Analyst on 11 Jul 2017
I don't think you can have a graph on top of another graph. Would it be possible for you to have the second, magnified graph not overlapping the first graph? If so, it's pretty easy, just have two axes.
Rakesh Jain
Rakesh Jain on 12 Jul 2017
I have updated the answer.Found the tool that does this on mathworks website

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!