Why can I not zoom on my data?
2 ビュー (過去 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!