« View all new features in Mathematica 9  previous  |  next 
New in Mathematica 9Legends

Combine a Legended Plot with Other Plots 

In[1]:=
Click for copyable input
X

Plot a function with various parameter values with a legend.

In[2]:=
Click for copyable input
X
Out[2]=

Plot approximations of the function for the same parameter values.

In[3]:=
Click for copyable input
X
Out[3]=

Combine the plots, including the legend, and add some additional options.

In[4]:=
Click for copyable input
X
Out[4]=