Why can I not zoom on my data?
조회 수: 1 (최근 30일)
이전 댓글 표시
Good afternoon, I am trying to zoom on some data in a plot. They are data at 200Hz, and I want to zoom on 7s. For some reasons, Matlab select a longer range of data(it looks like 15s, and its center the 7 chosen seconds). I cannot also zoom with the mouse on the x axis of the picture. Here is the code I am using:
datenummin=datenum(2012,4,30,15,19,0);
datenummax=datenum(2012,4,30,15,19,7);
dateplot=datenummin:1/24/60/60:datenummax;
plot(Time, data)
set(gca,'XTick',dateplot,'FontSize',24)
datetick('x','SS','keepticks')
axis([datenummin datenummax 0 3])
Many thanks for your help!
댓글 수: 0
채택된 답변
Jan
2013년 1월 29일
Please try what happens, if the period of time is not in 2012, but in the year 0.
The OpenGL renderer uses single data and this could limit the resolution of the displayed values. Please test which renderer is used:
get(gcf, 'Renderer')
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
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!