Enlarge step response plot

2 次查看(过去 30 天)
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

采纳的回答

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

更多回答(1 个)

Image Analyst
Image Analyst 2017-7-11
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 个评论
Image Analyst
Image Analyst 2017-7-11
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 2017-7-12
I have updated the answer.Found the tool that does this on mathworks website

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by