How to zoom out in scope?
8 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146826/image.png)
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 个评论
Geoff Hayes
2015-1-17
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
2015-1-20
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
2015-1-19
If your points are x and y this will great adjust the axis to contain the origin.
axis([0 max(x) 0 max(y)])
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Visual Exploration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!