MATLAB Answers

zoom in function figure

5 views (last 30 days)
AA
AA on 27 Oct 2017
Commented: AA on 27 Oct 2017
hi, my code shows me 10 different figures and for each figure I have to zoom in. This is very time consuming. Can I display the figures in such a way that they are automatically zoomed in on the x axis between x=400 and x=600, once being displayed.
thanks

  0 Comments

Sign in to comment.

Accepted Answer

Steven Lord
Steven Lord on 27 Oct 2017
See the xlim or axis functions.

  1 Comment

AA
AA on 27 Oct 2017
h=gcf; set(h.Children,'Xlim',[400 500]);

Sign in to comment.

More Answers (0)