version (18.2 KB) by Kevin J. Delaney
Annotate a plot with both dates AND times.


Updated 9 Jul 2010

View License

Extends "datetick.m" to include both date and time annotations. Picks convenient step sizes for you and automatically regenerates date/time annotations upon zoom or pan.
Based on original "dateNtick.m" by Peter Torrione. Package also includes "units.m" by Henning Ressing.

Cite As

Kevin J. Delaney (2022). dateNtick (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: units.m

Inspired: cbdate

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!