PlotLegends`
PlotLegends`

LegendSize

As of Version 9, all the functionality of the PlotLegends package is built into the Wolfram System. »

LegendSize

is an option for Legend that specifies the size of a legend box.

Details and Options

  • To use LegendSize, you first need to load the Plot Legends Package using Needs["PlotLegends`"].
  • The following settings can be given:
  • Automaticautomatically determine the size of the box
    numberscale the size
    {xlength,ylength}use xlength and ylength to determine the size
  • Using setting number scales the size so that it fits in a box with a width equal to the longest side of the length given.

Examples

Basic Examples  (1)

Normal-sized box for the legend:

Use a smaller box for the legend:

Wolfram Research (2007), LegendSize, Wolfram Language function, https://reference.wolfram.com/language/PlotLegends/ref/LegendSize.html.

Text

Wolfram Research (2007), LegendSize, Wolfram Language function, https://reference.wolfram.com/language/PlotLegends/ref/LegendSize.html.

CMS

Wolfram Language. 2007. "LegendSize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/PlotLegends/ref/LegendSize.html.

APA

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

BibTeX

@misc{reference.wolfram_2023_legendsize, author="Wolfram Research", title="{LegendSize}", year="2007", howpublished="\url{https://reference.wolfram.com/language/PlotLegends/ref/LegendSize.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_legendsize, organization={Wolfram Research}, title={LegendSize}, year={2007}, url={https://reference.wolfram.com/language/PlotLegends/ref/LegendSize.html}, note=[Accessed: 19-March-2024 ]}