MATLAB Answers

AA
0

zoom in function figure

Asked by AA
on 27 Oct 2017
Latest activity Commented on by 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.

1 Answer

Steven Lord
Answer by Steven Lord
on 27 Oct 2017
 Accepted Answer

See the xlim or axis functions.

  1 Comment

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

Sign in to comment.