LegendMarkerSize

LegendMarkerSize
is an option for legends such as PointLegend that specifies the size of marker regions for each element.

DetailsDetails

  • The following settings can be used:
  • Automaticautomatically determined size
    swidth and height specified by s
    {w,h}explicit width and height
    {s1,s2,}a list of sizes

ExamplesExamplesopen allclose all

Basic Examples  (5)Basic Examples  (5)

Specify the same size for width and height:

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

Specify different sizes for width and height:

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

Specify the marker region size for PointLegend:

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

Vary the widths of lines in LineLegend:

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

Vary the heights of swatches in SwatchLegend:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2012
(9.0)