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

ShowLegend


places the , , ..., in the given graphic graphics.
  • Each is in the same format as a call to Legend.
  • The graphic graphics is placed in a rectangle whose center is at , and whose boundaries are . These coordinates must be used to place the legends.
  • The aspect ratio of graphics is unchanged.
Density plot with a legend:
Surface plot with a legend:
Plot with a legend for the filling styles:
Needs["PlotLegends`"]
Density plot with a legend:
In[2]:=
Click for copyable input
Out[2]=
Surface plot with a legend:
In[3]:=
Click for copyable input
Out[3]=
Plot with a legend for the filling styles:
In[4]:=
Click for copyable input
Out[4]=