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

ShowLegend

ShowLegend[graphics, legend1, legend2, ...]
places the legend1, legend2, ..., in the given graphic graphics.
  • Each legendi is in the same format as a call to Legend.
  • The graphic graphics is placed in a rectangle whose center is at {0,0}, and whose boundaries are {{-1,-1},{1,1}}. 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]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team