Enlarge step response plot
Show older comments

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
More Answers (1)
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
Rakesh Jain
on 11 Jul 2017
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
on 12 Jul 2017
Categories
Find more on Tuning Goals 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!