PlotLegends`
PlotLegends`

LegendSpacing

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

LegendSpacing

is an option for Legend that specifies the amount of space around each key box on a scale where the box is 1.

更多信息和选项

  • To use LegendSpacing, you first need to load the Plot Legends Package using Needs["PlotLegends`"].
  • The following settings can be given:
  • na number
    Automaticdetermine spacing automatically
  • For the boxes to be adjacent (a continuous line, for instance), LegendSpacing should be set to 0.

范例

基本范例  (1)

Normally spaced keys in the legend:

Increasing the value of LegendSpacing increases the distance between the keys in the legend:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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