ShowLegend


places the , , ... in the given graphic graphics.

更多信息更多信息

  • To use , you first need to load the Plot Legends Package using Needs["PlotLegends`"].
  • 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.

范例范例打开所有单元关闭所有单元

基本范例 (1)基本范例 (1)

In[1]:=
Click for copyable input

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]=
New to Mathematica? Find your learning path »
Have a question? Ask support »