WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

LegendMargins

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

Details
Details and Options Details and Options
Examples  
Basic Examples  
See Also
Related Guides
History
Cite this Page

LegendMargins

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

Details

  • Possible settings are:
  • dist the 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_2025_legendmargins, author="Wolfram Research", title="{LegendMargins}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/LegendMargins.html}", note=[Accessed: 09-January-2026]}

BibLaTeX

@online{reference.wolfram_2025_legendmargins, organization={Wolfram Research}, title={LegendMargins}, year={2012}, url={https://reference.wolfram.com/language/ref/LegendMargins.html}, note=[Accessed: 09-January-2026]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /