TimelinePlot

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)

Plot several dates on a timeline:

Plot date intervals:

Plot historical events:

Plot multiple sets of dates and intervals:

Scope  (33)

Data  (14)

Plot a timeline using DateObject:

Using TimeObject:

Using DateString specifications:

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

Use a specific property for a list of entities:

Use a specific property for a class of entities:

Using DateList specifications:

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

Using AbsoluteTime specifications:

Plot time intervals:

TimeSeries shows the overall range of dates:

EventSeries shows the discrete event dates:

Keys in an Association are used as labels:

Plot dates from a variety of sources:

Wrappers  (4)

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

Wrappers can be nested:

Use PopupWindow to provide additional drilldown information:

Use Legended to add an additional legend:

Layouts  (4)

Pack the events in each dataset:

Use a single row for all events in each dataset:

Pack all of the events:

Use a single row for each event:

Plot events vertically:

Plot time increasing from the right:

Plot time increasing from the bottom:

Place all events in the same row:

Place all events along the axis:

Draw the first row of events along the axis:

Increase the spacing between successive rows of events:

Presentation  (5)

Use a theme with a bold color scheme:

Use unique markers for each dataset:

Use PlotStyle to change styles of events:

Use Filling to fill the events:

Change the FillingStyle:

Labeling and Legending  (6)

Use Labeled to add bubble labels:

Specify locations for the labels:

Entity and EntityClass automatically create bubble labels when possible:

Create automatic placeholder legends for each dataset:

Use Legended to highlight a specific event:

PlotLegends->"Expressions" automatically picks up labels:

Options  (41)

AspectRatio  (1)

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

Set the ratio to 1/2:

AxesOrigin  (2)

The axis is below the events by default:

Put the axis in the middle:

Put the time axis on top:

Change the axis position along with PlotLayout:

DateFunction  (2)

Remove potential ambiguity from dates:

Create dates from numbers:

Filling  (1)

Filling is turned off by default:

Fill to the row below:

Fill to the axis:

FillingStyle  (4)

FillingStyle follows PlotStyle by default:

Fill with the opaque plot style:

Specify the filling color:

Fill with transparent green:

GridLines  (2)

Use automatically placed time grid lines:

Use dates to specify grid lines:

LabelingFunction  (4)

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

Entities are automatically labeled with a bubble:

Do not add tooltips or any other labels:

Write a custom label format to put in a Tooltip:

PerformanceGoal  (3)

Generate a plot with interactive highlighting:

Emphasize performance by disabling interactive behaviors:

Typically, less memory is required for noninteractive plots:

PlotLayout  (3)

Pack the events in each dataset:

Use a single row for all events in each dataset:

Pack all of the events:

Use a single row for each event:

Plot events vertically:

Plot time increasing from the right:

Plot time increasing from the bottom:

PlotLegends  (2)

Create a legend based on distinguishable colors:

Use Placed to position legends:

PlotMarkers  (3)

Use unique PlotMarkers to distinguish sets of events:

Change size of the markers:

Use filled markers:

PlotRange  (2)

PlotRange is automatically calculated:

Use date format to specify plot range:

PlotStyle  (4)

Use thick, black lines for the plot:

By default, different styles are chosen for multiple datasets:

Explicitly specify the style for different datasets:

Use built-in named and indexed color schemes:

PlotTheme  (2)

Use a bold color scheme:

Add filling to the plot:

Spacings  (4)

Place all events in the same row:

Place all events along the axis:

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

Use different spacings between events:

TimeZone  (2)

Plots are shown using the setting of $TimeZone:

Specify the time zone to use:

Applications  (3)

Show the holidays in a year for several countries:

Plot Mathematica release dates:

Create a timeline of the wives of Henry VIII:

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

Text

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

CMS

Wolfram Language. 2015. "TimelinePlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. 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

BibTeX

@misc{reference.wolfram_2023_timelineplot, author="Wolfram Research", title="{TimelinePlot}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/TimelinePlot.html}", note=[Accessed: 12-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_timelineplot, organization={Wolfram Research}, title={TimelinePlot}, year={2020}, url={https://reference.wolfram.com/language/ref/TimelinePlot.html}, note=[Accessed: 12-April-2024 ]}