TimelinePlotにグラフィカルなラベルを加える
映画「ハリーポッター」の公開日を表示する.
In[1]:=
![Click for copyable input](assets.ja/add-graphical-labels-in-timelineplot/In_10.png)
TimelinePlot[
EntityClass["Movie", "HarryPotterFranchise"] -> "ReleaseDate"]
Out[1]=
![](assets.ja/add-graphical-labels-in-timelineplot/O_6.png)
映画のポスターをラベルとして使い,垂直のライムライン上に古い映画が下になるようにプロットする.
In[2]:=
![Click for copyable input](assets.ja/add-graphical-labels-in-timelineplot/In_11.png)
TimelinePlot[
Rule @@@ EntityValue[
EntityClass["Movie", "HarryPotterFranchise"], {"ReleaseDate",
"Image"}], LabelStyle -> 18, PlotLayout -> "ReverseVertical",
PlotTheme -> "Business"]
Out[2]=
![](assets.ja/add-graphical-labels-in-timelineplot/O_7.png)