PlotLegends`
PlotLegends`

LegendSize

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

LegendSize

is an option for Legend that specifies the size of a legend box.

更多信息和选项

  • To use LegendSize, you first need to load the Plot Legends Package using Needs["PlotLegends`"].
  • The following settings can be given:
  • Automaticautomatically determine the size of the box
    numberscale the size
    {xlength,ylength}use xlength and ylength to determine the size
  • Using setting number scales the size so that it fits in a box with a width equal to the longest side of the length given.

范例

基本范例  (1)

Normal-sized box for the legend:

Use a smaller box for the legend:

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

文本

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

CMS

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

APA

Wolfram 语言. (2007). LegendSize. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/PlotLegends/ref/LegendSize.html 年

BibTeX

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

BibLaTeX

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