Legend


generates a legend with the specified boxes and text.


generates a legend by applying func to numbers between 0 and 1, incremented by the number of boxes .


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[2]:=
Click for copyable input
Out[2]//InputForm=
In[3]:=
Click for copyable input
Out[3]=

Surface plot with a legend:

In[4]:=
Click for copyable input
Out[4]=
New to Mathematica? Find your learning path »
Have a question? Ask support »