This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
BUILT-IN MATHEMATICA SYMBOL|See Also »

DateTicksFormat

DateTicksFormat
is an option for DateListPlot which specifies how date tick labels should be formatted.
  • Any of the date elements from DateString can be used.
  • Typical elements include:
"Year"full year (e.g. 2005)
"YearShort"2-digit year (e.g. 05)
"QuarterNameShort"quarter of year in short form (e.g. "Q1")
"MonthNameShort"month name in short form (e.g. "Aug")
"MonthNameInitial"first letter of month name (e.g. "A")
"Month"2-digit month number (e.g. 08)
"MonthShort"1- or 2-digit month number (e.g. 8)
"DayNameShort"short day of the week (e.g. "Wed")
"DayNameInitial"first letter of day name (e.g. "W")
"Day"2-digit day of the month (e.g. 09)
"DayShort"1- or 2-digit day of the month (e.g. 9 or 29)
"Hour12"hour on 12-hour clock
"Hour24"hour on 24-hour clock
"AMPM"AM or PM
"AMPMLowerCase"am or pm
"Minute"2-digit minute (e.g. 05)
"Second"2-digit seconds
Plot date-based data using default and specified ticks:
Specify both month and year information for ticks:
Plot date-based data using default and specified ticks:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
 
Specify both month and year information for ticks:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Specify formats on any time scale:
Give date formats for ticks at specific positions:
New in 6