View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

4.7 | 3 ratings Rate this file 5 Downloads (last 30 days) File Size: 18.2 KB File ID: #28166 Version: 1.0
image thumbnail




Annotate a plot with both dates AND times.

| Watch this File

File Information

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.


Units.M inspired this file.

This file inspired Cbdate.

MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
13 Nov 2012 Pablo

Pablo (view profile)

Excellent function, but it seems that doesn't save plots in 'eps' format correctly

05 Apr 2012 Kevin J. Delaney

The 'keeplimits' option is already included. Type 'help dateNtick' for details.

Comment only
05 Apr 2012 Stan Young

Is it possible to add the 'keeplimits' options (as is available with the Normal datetick). Struggling to get precise control of x-axis limits, along with good formatting of dates.

Comment only
20 Sep 2011 Pascale

Added some FontName and FontSize conditions to override my default "Times 12" font.

26 Jul 2010 Soma

Soma (view profile)

Contact us