Légendes multiples
Les légendes peuvent être utilisées pour indiquer le maximum et le minimum d'une courbe.
In[1]:=
![Click for copyable input](assets.fr/multiple-callouts/In_10.png)
Plot[{Callout[Sin[Sqrt[2] x] + Sin[x], {"max", "min"}, {Above, Below},
LabelStyle -> Medium]}, {x, 0, 8}, ImageSize -> 400,
PlotTheme -> "Web", PlotRange -> {-2.5, 2.5}]
Out[1]=
![](assets.fr/multiple-callouts/O_9.png)
Ajoutez des légendes à chaque point dans un tracé.
In[2]:=
![Click for copyable input](assets.fr/multiple-callouts/In_11.png)
ListLinePlot[{Table[Callout[{i, Sin[i/2]}, i, Below], {i, 0, 10, 1}]},
PlotTheme -> "Business"]
Out[2]=
![](assets.fr/multiple-callouts/O_10.png)