Visualize Time Events with TimelinePlot
By default, timelines will align groups of labels.
In[1]:=
![Click for copyable input](assets.en/visualize-time-events-with-timelineplot/In_12.png)
TimelinePlot[(# ->
Show[IconData["MoonPhase", MoonPhase[#]], ImageSize -> 50]) & /@
DateRange[{2016, 1, 1}, {2016, 1, 8}, "Day"], ImageSize -> 400]
Out[1]=
![](assets.en/visualize-time-events-with-timelineplot/O_8.png)
Distribute the labels horizontally.
In[2]:=
![Click for copyable input](assets.en/visualize-time-events-with-timelineplot/In_13.png)
TimelinePlot[(# ->
Show[IconData["MoonPhase", MoonPhase[#]], ImageSize -> 40]) & /@
DateRange[{2016, 1, 1}, {2016, 1, 8}, "Day"],
PlotLayout -> "Grouped"]
Out[2]=
![](assets.en/visualize-time-events-with-timelineplot/O_9.png)
The label placements automatically adjust to the layout of the timeline.
In[3]:=
![Click for copyable input](assets.en/visualize-time-events-with-timelineplot/In_14.png)
TimelinePlot[(# ->
Show[IconData["MoonPhase", MoonPhase[#]], ImageSize -> 50]) & /@
DateRange[{2016, 1, 1}, {2016, 1, 8}, "Day"],
PlotLayout -> "ReverseVertical", ImageSize -> 400, AspectRatio -> 1]
Out[3]=
![](assets.en/visualize-time-events-with-timelineplot/O_10.png)