12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

datetickPurpose2datetickLabel tick lines using datesSyntaxDescriptiondatetick(tickaxis)datetick(tickaxis,dateform)datetick(tickaxis) labels the tick lines of an axis using dates, replacing thedefault numeric labels. tickaxis is the string 'x', 'y', or 'z'. The default is'x'. datetick selects a label format based on the minimum and maximumlimits of the specified axis.datetick(tickaxis,dateform) formats the labels according to the integerdateform (see table). To produce correct results, the data for the specified axismust be serial date numbers (as produced by datenum).Dateform Format Example0 day-month-year hour:minute 01-Mar-1995 03:451 day-month-year 01-Mar-19952 month/day/year 03/01/953 month, three letters Mar4 month, single letter M5 month, numeral 36 month/day 03/017 day of month 18 day of week, three letters Wed9 day of week, single letter W10 year, four digit 199511 year, two digit 952-122

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!