You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: This was a File Exchange Pick of the Week
Note that although this piece of code still works with R2014b, the same effect can be achieved by simply using the new datetime data type as first input to plot when running R2014b or newer versions.
%
% zoomAdaptiveDateTicks('on')
% Turns on the automatic adaptation of date ticks
% to user zooming for the current figure window
%
% zoomAdaptiveDateTicks('off')
% Turns off the automatic adaptation of date ticks
% to user zooming for the current figure window
%
% zoomAdaptiveDateTicks('demo')
% Opens a demo figure window to play with
Cite As
Andreas Krahnke (2026). Zoom Adaptive Date Ticks (https://uk.mathworks.com/matlabcentral/fileexchange/15342-zoom-adaptive-date-ticks), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: cbdate
General Information
- Version 1.1.0.1 (1.6 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
