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:

Introduced in 2012
 (9.0)