zoom in function figure

2 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

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)

Categories

Find more on Visual Exploration 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!