필터 지우기
필터 지우기

How to zoom out in scope?

조회 수: 13 (최근 30일)
Maulik
Maulik 2015년 1월 16일
댓글: Les Beckham 2015년 1월 20일
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
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
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
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)])

카테고리

Help CenterFile Exchange에서 Visual Exploration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by