LegendMargins

LegendMargins

is an option for legends that specifies the margins to leave around the legend.

Details

  • Possible settings are:
  • distthe same margins on all sides
    {{left,right},{bottom,top}}different margins on different sides
  • Margin sizes are in printer's points.
  • LegendMargins adds space between the content generated by LegendLayout and the container provided by LegendFunction.

Examples

Basic Examples  (3)

Leave no margins between legends and LegendFunction:

Specify margins in different sides:

Leave no margins between legends and plot:

Use LegendMargins to leave margins between legends and plot:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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