多个标注
可用标注 (callout) 来标出曲线的最大值和最小值.
In[1]:=
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]=
为绘图中的每个点添加标注 (callout).
In[2]:=
ListLinePlot[{Table[Callout[{i, Sin[i/2]}, i, Below], {i, 0, 10, 1}]},
PlotTheme -> "Business"]
Out[2]=