PlotLegends`
PlotLegends`

LegendBackground

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

LegendBackground

is an option for Legend that specifies the style of background to use with a legend.

更多信息和选项

  • To use LegendBackground, you first need to load the Plot Legends Package using Needs["PlotLegends`"].
  • LegendBackground sets ShadowForeground and will override any value passed to ShadowForeground.
  • LegendBackground->style specifies that the legend background is created with the specified graphics directive or list of directives.

范例

基本范例  (1)

Use a white background for the legend:

Use a yellow background for the legend:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_legendbackground, organization={Wolfram Research}, title={LegendBackground}, year={2016}, url={https://reference.wolfram.com/language/PlotLegends/ref/LegendBackground.html}, note=[Accessed: 22-November-2024 ]}