Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Plot Legends Package >

PlotLegend

PlotLegend
is an option for Plot, ListPlot, and related functions that assigns text to lines in a 2D plot to create a legend for that plot.
  • PlotLegend->{text1, text2, ...} assigns text to each line in the same fashion as PlotStyle.
  • PlotLegend also enables Plot and related functions to accept options for Legend, which will modify the legend produced.
Add a legend to a plot to identify curves:
Needs["PlotLegends`"]
Add a legend to a plot to identify curves:
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team