bug in zoom in timeseries plot
조회 수: 1 (최근 30일)
이전 댓글 표시
before i report a bug i want to ask if someone have a problem with the zoom button on a timeseries plot.
i create a time-series and add to the figure a regular plot (not a time-series).
when i zoom in the first time its work like expected but when i zoom again, when i push the left click, the plot change to be the all plot not the zoomed plot. it append in R2014b version not in perceive version and only when i add a regular plot to a time-series.
i add a code that you can run to test it. please report if you get the same bug.
timeVec = (73594:1/24/60:73595)';
DataVec = rand(length(timeVec),2);
figure(6),clf
ts1 = timeseries(cumsum(2.*DataVec(:,2)-1),timeVec(:,1));
ts1.Name = 'Rand';
ts1.TimeInfo.Units = 'days';
ts1.TimeInfo.StartDate=timeVec(1,1);
ts1.TimeInfo.Format = 'mm-dd HH:MM';
ts1.Time=ts1.Time-ts1.Time(1);
plot(ts1,'k-');
hold on;
plot(timeVec(:,1),cumsum(2.*DataVec(:,1)-1),'r')
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Exploration에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!