is an option for visualization functions that specifies what labels to use for each data source.


  • PlotLabels->labels specifies the labels to use for each data source in a plot.
  • Possible settings for labels include:
  • Noneno labels
    Automaticautomatic labels
    {lbl1,lbl2,}use lbli for the i^(th) label
    Placed[labels,pos]labels at position pos
    Placed[labels,pos,f]labels formatted with f
  • The lbli can be any expression, including strings, graphics, and formulas.
  • None indicates no label. If there are more items to label than lbli specified, the subsequent lbli are taken to be None.
  • The positions pos in Placed[labels,pos,] are relative to each item being labeled.
  • Positions vary by function, but typically include Above, Below, scaled positions, etc.
  • If explicit labeling is specified using Labeled, it is added to labeling specified through PlotLabels.


Basic Examples  (4)

Specify labels to use for the data:

Place labels before the ends of the curves:

Automatically label curves with the keys of an Association:

Use the expressions being plotted as labels:

Introduced in 2016