Agregue etiquetas gráficas en TimelinePlot
Muestre las fechas de lanzamiento de todas las películas de Harry Potter.
In[1]:=
![Click for copyable input](assets.es/add-graphical-labels-in-timelineplot/In_10.png)
TimelinePlot[
EntityClass["Movie", "HarryPotterFranchise"] -> "ReleaseDate"]
Out[1]=
![](assets.es/add-graphical-labels-in-timelineplot/O_6.png)
Utilice los carteles de la película como etiquetas y represéntelos gráficamente en una línea temporal vertical con las películas más viejas en la parte inferior.
In[2]:=
![Click for copyable input](assets.es/add-graphical-labels-in-timelineplot/In_11.png)
TimelinePlot[
Rule @@@ EntityValue[
EntityClass["Movie", "HarryPotterFranchise"], {"ReleaseDate",
"Image"}], LabelStyle -> 18, PlotLayout -> "ReverseVertical",
PlotTheme -> "Business"]
In[3]:=
![Click for copyable input](assets.es/add-graphical-labels-in-timelineplot/In_12.png)
TimelinePlot[
Rule @@@ EntityValue[
EntityClass["Movie", "HarryPotterFranchise"], {"ReleaseDate",
"Image"}], LabelStyle -> 18, PlotLayout -> "ReverseVertical",
PlotTheme -> "Business"]
Out[3]=
![](assets.es/add-graphical-labels-in-timelineplot/O_7.png)