Legend

Legend[{{box1,text1},},options]
generates a legend with the specified boxes and text.

Legend[func,num,options]
generates a legend by applying func to numbers between 0 and 1, incremented by the number of boxes .

Legend[func,num,mintext,maxtext,options]
labels the first and last boxes with mintext and maxtext, respectively.

更多信息更多信息

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

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

In[1]:=
Click for copyable input

Graphics primitives making up a legend:

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

Surface plot with a legend:

In[4]:=
Click for copyable input
Out[4]=
Translate this page: