PlotLegends

PlotLegends
is an option for plot functions that specifies what legends to use.

DetailsDetails

  • Typical settings for PlotLegends include:
  • Noneadd no legend
    Automaticuse automatic legending
    "Expressions"use formulas as legend labels
    {lbl1,lbl2,}use for the i^(th) input
    expruse expr as legend
    Placed[lspec,]specify placement of legend
  • The following legend constructors can be used to form commonly occurring legends: SwatchLegend, LineLegend, PointLegend, and BarLegend.
Introduced in 2012
(9.0)