LegendBorder


is an option for Legend that specifies the style of the line surrounding key boxes and text in a legend.

更多信息更多信息

  • To use , you first need to load the Plot Legends Package using Needs["PlotLegends`"].
  • LegendBorder->style specifies that the border line style should use the specified graphics directive or list of directives.

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

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

In[1]:=
Click for copyable input

Use a black border around the legend:

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

Use a thick purple border around the legend:

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