LegendMarkerSize

LegendMarkerSize

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

Details

  • 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

Examples

Basic Examples  (5)

Specify the same size for width and height:

Specify different sizes for width and height:

Specify the marker region size for PointLegend:

Vary the widths of lines in LineLegend:

Vary the heights of swatches in SwatchLegend:

Wolfram Research (2012), LegendMarkerSize, Wolfram Language function, https://reference.wolfram.com/language/ref/LegendMarkerSize.html.

Text

Wolfram Research (2012), LegendMarkerSize, Wolfram Language function, https://reference.wolfram.com/language/ref/LegendMarkerSize.html.

CMS

Wolfram Language. 2012. "LegendMarkerSize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LegendMarkerSize.html.

APA

Wolfram Language. (2012). LegendMarkerSize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LegendMarkerSize.html

BibTeX

@misc{reference.wolfram_2024_legendmarkersize, author="Wolfram Research", title="{LegendMarkerSize}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/LegendMarkerSize.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_legendmarkersize, organization={Wolfram Research}, title={LegendMarkerSize}, year={2012}, url={https://reference.wolfram.com/language/ref/LegendMarkerSize.html}, note=[Accessed: 22-November-2024 ]}