This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

LegendSpacing

LegendSpacing
is an option for Legend which specifies the amount of space around each key box on a scale where the box is 1.
  • The following settings can be given:
na number
Automaticdetermine spacing automatically
  • For the boxes to be adjacent (a continuous line, for instance) LegendSpacing should be set to 0.
Normally spaced keys in the legend:
Increasing the value of LegendSpacing increases the distance between the keys in the legend:
Needs["PlotLegends`"]
Normally spaced keys in the legend:
In[2]:=
Click for copyable input
Out[2]=
Increasing the value of LegendSpacing increases the distance between the keys in the legend:
In[3]:=
Click for copyable input
Out[3]=