LegendSpacing


is an option for Legend that specifies the amount of space around each key box on a scale where the box is 1.

更多信息更多信息

  • To use , you first need to load the Plot Legends Package using Needs["PlotLegends`"].
  • The following settings can be given:
  • na number
    Automaticdetermine spacing automatically
  • For the boxes to be adjacent (a continuous line, for instance), should be set to 0.

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

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

In[1]:=
Click for copyable input

Normally spaced keys in the legend:

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

Increasing the value of increases the distance between the keys in the legend:

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