How to zoom out in scope?

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 个评论

Himanshu - what are you using to display the above figure? Is it generated from code that you have written, a particular toolbox, or Simulink?
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.

请先登录,再进行评论。

回答(1 个)

Chris Barnhart
Chris Barnhart 2015-1-19

0 个投票

If your points are x and y this will great adjust the axis to contain the origin.
axis([0 max(x) 0 max(y)])

类别

帮助中心File Exchange 中查找有关 Data Exploration 的更多信息

提问:

2015-1-16

Community Treasure Hunt

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

Start Hunting!

Translated by