新标签系统
使用 PlotLabels 选项自动把表达式作为标签.
In[1]:=
options = {ImageSize -> 500, PlotTheme -> {"Web", "LargeLabels"}};
In[2]:=
Plot[Evaluate[Table[Log[x] Sin[i x], {i, 1, 5}]], {x, 0, 3},
PlotLabels -> Automatic, ImageSize -> 500,
PlotTheme -> {"Web", "LargeLabels"}]
Out[2]=
使用 Labeled 封装将标签放置于曲线附近.
In[3]:=
Plot[Evaluate[
Table[Labeled[BesselY[i, x], BesselY[i, x], Above], {i, 0, 4}]], {x,
2, 8}, ImageSize -> 500, PlotTheme -> {"Web", "LargeLabels"}]
Out[3]=
用 Callout 封装使标签指向曲线.
In[4]:=
Plot[Evaluate@
Table[Callout[BesselJ[i, x], BesselJ[i, x], Above], {i, 1, 6}], {x,
0, 8}, ImageSize -> 500, PlotTheme -> {"Web", "LargeLabels"}]
Out[4]=