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.

更多信息和选项

  • 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 .

范例

基本范例  (1)

Legend placed in the bottom-right corner:

Wolfram Research (2007),LegendPosition,Wolfram 语言函数,https://reference.wolfram.com/language/PlotLegends/ref/LegendPosition.html.

文本

Wolfram Research (2007),LegendPosition,Wolfram 语言函数,https://reference.wolfram.com/language/PlotLegends/ref/LegendPosition.html.

CMS

Wolfram 语言. 2007. "LegendPosition." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/PlotLegends/ref/LegendPosition.html.

APA

Wolfram 语言. (2007). LegendPosition. Wolfram 语言与系统参考资料中心. 追溯自 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: 18-November-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: 18-November-2024 ]}