Code covered by the BSD License  

Highlights from
dateNtick

4.5

4.5 | 2 ratings Rate this file 4 Downloads (last 30 days) File Size: 18.24 KB File ID: #28166
image thumbnail

dateNtick

by Kevin J. Delaney

 

09 Jul 2010

Annotate a plot with both dates AND times.

| Watch this File

File Information
Description

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.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
dateNtick.m

MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
26 Jul 2010 Soma  
20 Sep 2011 Pascale

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

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.

05 Apr 2012 Kevin J. Delaney

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

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
datetick Kevin J. Delaney 12 Jul 2010 11:58:31
date annotation Kevin J. Delaney 12 Jul 2010 11:58:31
time annotation Kevin J. Delaney 12 Jul 2010 11:58:31
date annotation Stefano 06 Oct 2010 06:23:30
date annotation Pascale 19 Sep 2011 10:39:00

Contact us at files@mathworks.com