Why can I not zoom on my data?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
Jan
am 29 Jan. 2013
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 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Data Exploration finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!