Code covered by the BSD License  

Highlights from
dateNtick

4.66667

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

dateNtick

by

 

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

Date Ntick.M and Units.M inspired this file.

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

Hi,
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.

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.

20 Sep 2011 Pascale

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

26 Jul 2010 Soma  

Contact us