WOLFRAM

TimelinePlot[{date1,date2,}]

makes a timeline plot with dates date1, date2, .

TimelinePlot[{event1,event2,}]

makes a timeline plot with events event1, event2, .

TimelinePlot[{data1,data2,}]

makes a timeline plot from multiple event datasets datai.

Details and Options

Examples

open allclose all

Basic Examples  (4)Summary of the most common use cases

Plot several dates on a timeline:

Out[1]=1

Plot date intervals:

Out[1]=1

Plot historical events:

Out[1]=1

Plot multiple sets of dates and intervals:

Out[1]=1

Scope  (34)Survey of the scope of standard use cases

Data  (14)

Plot a timeline using DateObject:

Out[1]=1

Using TimeObject:

Out[1]=1

Using DateString specifications:

Out[1]=1

Plot the "Date" property from a list of entities:

Out[1]=1

Use a specific property for a list of entities:

(Dialog) Out[1]=1

Use a specific property for a class of entities:

Out[1]=1

Using DateList specifications:

Out[1]=1

Use DateFunction to prepend a year to {month,day} lists:

Out[1]=1

Using AbsoluteTime specifications:

Out[1]=1

Plot time intervals:

Out[1]=1

TimeSeries shows the overall range of dates:

Out[1]=1

EventSeries shows the discrete event dates:

Out[1]=1

Keys in an Association are used as labels:

Out[1]=1

Plot dates from a variety of sources:

Out[1]=1

Tabular Data  (1)

Generate tabular data and generate DateObject instances that could be used:

Out[1]=1

Plot the scientists' dates of birth:

Out[2]=2

Plot the lifespans:

Out[3]=3

Use PivotToColumns to split LifeSpan column based on the area of knowledge of the scientists:

Out[4]=4

Display the lifespans for the mathematicians and physicists separately:

Out[5]=5

Wrappers  (4)

Use wrappers on individual data, datasets, or collections of datasets:

Out[1]=1

Wrappers can be nested:

Out[1]=1

Use PopupWindow to provide additional drilldown information:

Out[1]=1

Use Legended to add an additional legend:

Out[1]=1

Layouts  (4)

Pack the events in each dataset:

Out[2]=2

Use a single row for all events in each dataset:

Out[3]=3

Pack all of the events:

Out[4]=4

Use a single row for each event:

Out[5]=5

Plot events vertically:

Out[2]=2

Plot time increasing from the right:

Out[2]=2

Plot time increasing from the bottom:

Out[3]=3

Place all events in the same row:

Out[2]=2

Place all events along the axis:

Out[3]=3

Draw the first row of events along the axis:

Out[4]=4

Increase the spacing between successive rows of events:

Out[5]=5

Presentation  (5)

Use a theme with a bold color scheme:

Out[1]=1

Use unique markers for each dataset:

Out[1]=1

Use PlotStyle to change styles of events:

Out[1]=1

Use Filling to fill the events:

Out[1]=1

Change the FillingStyle:

Out[1]=1

Labeling and Legending  (6)

Use Labeled to add bubble labels:

Out[1]=1

Specify locations for the labels:

Out[1]=1

Entity and EntityClass automatically create bubble labels when possible:

Out[1]=1

Create automatic placeholder legends for each dataset:

Out[1]=1

Use Legended to highlight a specific event:

Out[1]=1

PlotLegends->"Expressions" automatically picks up labels:

Out[1]=1

Options  (41)Common values & functionality for each option

AspectRatio  (1)

Choose the ratio of height to width from the actual plot values:

Out[2]=2

Set the ratio to 1/2:

Out[3]=3

AxesOrigin  (2)

The axis is below the events by default:

Out[1]=1

Put the axis in the middle:

Out[2]=2

Put the time axis on top:

Out[3]=3

Change the axis position along with PlotLayout:

Out[1]=1

DateFunction  (2)

Remove potential ambiguity from dates:

Out[1]=1

Create dates from numbers:

Out[1]=1

Filling  (1)

Filling is turned off by default:

Out[2]=2

Fill to the row below:

Out[3]=3

Fill to the axis:

Out[4]=4

FillingStyle  (4)

FillingStyle follows PlotStyle by default:

Out[1]=1

Fill with the opaque plot style:

Out[1]=1

Specify the filling color:

Out[1]=1

Fill with transparent green:

Out[1]=1

GridLines  (2)

Use automatically placed time grid lines:

Out[1]=1

Use dates to specify grid lines:

Out[1]=1

LabelingFunction  (4)

Events automatically get a tooltip with the date or date range:

Out[1]=1

Entities are automatically labeled with a bubble:

Out[1]=1

Do not add tooltips or any other labels:

Out[1]=1
Out[2]=2

Write a custom label format to put in a Tooltip:

Out[3]=3

PerformanceGoal  (3)

Generate a plot with interactive highlighting:

Out[1]=1

Emphasize performance by disabling interactive behaviors:

Out[1]=1

Typically, less memory is required for noninteractive plots:

Out[1]=1

PlotLayout  (3)

Pack the events in each dataset:

Out[2]=2

Use a single row for all events in each dataset:

Out[3]=3

Pack all of the events:

Out[4]=4

Use a single row for each event:

Out[5]=5

Plot events vertically:

Out[2]=2

Plot time increasing from the right:

Out[2]=2

Plot time increasing from the bottom:

Out[3]=3

PlotLegends  (2)

Create a legend based on distinguishable colors:

Out[1]=1

Use Placed to position legends:

Out[1]=1

PlotMarkers  (3)

Use unique PlotMarkers to distinguish sets of events:

Out[1]=1

Change size of the markers:

Out[1]=1
Out[2]=2

Use filled markers:

Out[1]=1

PlotRange  (2)

PlotRange is automatically calculated:

Out[1]=1

Use date format to specify plot range:

Out[1]=1

PlotStyle  (4)

Use thick, black lines for the plot:

Out[1]=1

By default, different styles are chosen for multiple datasets:

Out[1]=1

Explicitly specify the style for different datasets:

Out[1]=1

Use built-in named and indexed color schemes:

Out[1]=1

PlotTheme  (2)

Use a bold color scheme:

Out[1]=1

Add filling to the plot:

Out[1]=1

Spacings  (4)

Place all events in the same row:

Out[1]=1

Place all events along the axis:

Out[1]=1

Place the first set of events along the axis and evenly space the rest:

Out[1]=1

Use different spacings between events:

Out[1]=1

TimeZone  (2)

Plots are shown using the setting of $TimeZone:

Out[1]=1

Specify the time zone to use:

Out[1]=1

Applications  (3)Sample problems that can be solved with this function

Show the holidays in a year for several countries:

Out[4]=4

Plot Mathematica release dates:

Out[1]=1

Create a timeline of the wives of Henry VIII:

Out[1]=1
Wolfram Research (2015), TimelinePlot, Wolfram Language function, https://reference.wolfram.com/language/ref/TimelinePlot.html (updated 2025).
Wolfram Research (2015), TimelinePlot, Wolfram Language function, https://reference.wolfram.com/language/ref/TimelinePlot.html (updated 2025).

Text

Wolfram Research (2015), TimelinePlot, Wolfram Language function, https://reference.wolfram.com/language/ref/TimelinePlot.html (updated 2025).

Wolfram Research (2015), TimelinePlot, Wolfram Language function, https://reference.wolfram.com/language/ref/TimelinePlot.html (updated 2025).

CMS

Wolfram Language. 2015. "TimelinePlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/TimelinePlot.html.

Wolfram Language. 2015. "TimelinePlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/TimelinePlot.html.

APA

Wolfram Language. (2015). TimelinePlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TimelinePlot.html

Wolfram Language. (2015). TimelinePlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TimelinePlot.html

BibTeX

@misc{reference.wolfram_2025_timelineplot, author="Wolfram Research", title="{TimelinePlot}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/TimelinePlot.html}", note=[Accessed: 28-March-2025 ]}

@misc{reference.wolfram_2025_timelineplot, author="Wolfram Research", title="{TimelinePlot}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/TimelinePlot.html}", note=[Accessed: 28-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_timelineplot, organization={Wolfram Research}, title={TimelinePlot}, year={2025}, url={https://reference.wolfram.com/language/ref/TimelinePlot.html}, note=[Accessed: 28-March-2025 ]}

@online{reference.wolfram_2025_timelineplot, organization={Wolfram Research}, title={TimelinePlot}, year={2025}, url={https://reference.wolfram.com/language/ref/TimelinePlot.html}, note=[Accessed: 28-March-2025 ]}