How to zoom out in scope?

29 views (last 30 days)
Maulik
Maulik on 16 Jan 2015
Commented: Les Beckham on 20 Jan 2015
I want to zoom out and see all responses from 0 in both axis.How to do it as there is no zoom out option available? I tried to set the range value for y axis but time did not start from zero?I am trying to get an approximate straight line view which is evident from the pic attached.But how can I zoom out and set both axis to 0
  2 Comments
Geoff Hayes
Geoff Hayes on 17 Jan 2015
Himanshu - what are you using to display the above figure? Is it generated from code that you have written, a particular toolbox, or Simulink?
Les Beckham
Les Beckham on 20 Jan 2015
Check to make sure that your scope is configured to save all of the data. By default, scopes are set to only save the last 5000 (iirc) data samples.

Sign in to comment.

Answers (1)

Chris Barnhart
Chris Barnhart on 19 Jan 2015
If your points are x and y this will great adjust the axis to contain the origin.
axis([0 max(x) 0 max(y)])

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!