Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Charting and Information Visualization > Chart Labeling, Legending & Annotation >
Mathematica > Visualization and Graphics > Data Visualization > Charting and Information Visualization > Chart Labeling, Legending & Annotation >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team