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.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In[1]:=
Click for copyable input

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]=
Translate this page: