PlotLegends`
PlotLegends`

LegendPosition

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

LegendPosition

is an option for Legend that specifies the location of the lower-left corner of a legend box.

Details and Options

  • To use LegendPosition, you first need to load the Plot Legends Package using Needs["PlotLegends`"].
  • Places the lowerleft corner of a legend box in a position specified by a coordinate system scaled so the center of the graphic is at , and the longest side of the graphic runs from -1 to 1. This same coordinate system is used for LegendSize and LegendShadow.
  • If called from ShowLegend, the position will be in the coordinate system, with the graphic centered at and scaled to fit inside .

Examples

Basic Examples  (1)

Legend placed in the bottom-right corner:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_legendposition, organization={Wolfram Research}, title={LegendPosition}, year={2007}, url={https://reference.wolfram.com/language/PlotLegends/ref/LegendPosition.html}, note=[Accessed: 22-December-2024 ]}