File Exchange

image thumbnail

dateNtick

version 1.0 (18.2 KB) by

Annotate a plot with both dates AND times.

4.66667
3 Ratings

3 Downloads

Updated

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.

Comments and Ratings (5)

Pablo

Pablo (view profile)

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

Kevin J. Delaney

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

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.

Pascale

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

Soma

Soma (view profile)

MATLAB Release
MATLAB 7.10 (R2010a)
Acknowledgements

Inspired by: units.m

Inspired: cbdate

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

» Watch video