Date on X-axis when zooming the plot
Show older comments
I've plotted a file with 120,000 points. The x data is a time with a format 'MM/DD/YYYY HH:MM:SS' (10/30/2010 11:16:00 PM. I have successfully plotted it (though it took me 62 seconds to do it). My problem is when i zoom the plot, the datetick (x-axis) does automatically zooms in. In the whole plot, i only have 6 x-ticks, and when i zoom it in, the x-ticks is still the same. I've used datetick('x', 'mm/dd/yy HH:MM:SS', 'keepticks').
2 Comments
Walter Roberson
on 5 Oct 2011
I am not clear as to what behavior you are looking for?
rank
on 5 Oct 2011
Accepted Answer
More Answers (1)
Viet Hung Nguyen
on 14 Aug 2016
0 votes
Intelligent! Thanks Aurelien.
Categories
Find more on Data Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!