This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Legended

Legended[expr, lab]
indicates that a legend entry for expr should be created, with label lab.
  • Legended can be used as a symbolic wrapper for data elements and datasets in charting functions such as BarChart.
  • The legend entry associated with Legended[expr, lab] includes an identifying prototype, such as a color swatch, for expr, displayed with the label lab.
  • The label lab in Legended[expr, lab] can be any expression, including graphics.
  • Legended[expr, Placed[lab, pos]] can be used to create legend entries for legends at different positions in a chart.
Use Legended to provide legend entries for specific elements:
Use Legended to provide legend entries for specific elements:
In[1]:=
Click for copyable input
Out[1]=
New in 7