Creación de una línea de tiempo
Obtenga una lista de ejemplos de eventos históricos usando EntityValue.
In[1]:=
![Click for copyable input](assets.es/create-a-timeline/In_21.png)
events = EntityValue["HistoricalEvent", "SampleEntities"]
Out[1]=
![](assets.es/create-a-timeline/O_21.png)
Cree una línea temporal de varios eventos históricos usando TimelinePlot.
In[2]:=
![Click for copyable input](assets.es/create-a-timeline/In_22.png)
TimelinePlot[List /@ events, PlotStyle -> AbsoluteThickness[2],
PlotTheme -> "Web", Background -> LightGray,
PlotRange -> {{{-200}, {5000}}, All}]
Out[2]=
![](assets.es/create-a-timeline/O_22.png)