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.
Details and Options
- 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.
Examples
Basic Examples (1)Summary of the most common use cases
Wolfram Research (2016), LegendBackground, Wolfram Language function, https://reference.wolfram.com/language/PlotLegends/ref/LegendBackground.html.
✖
Wolfram Research (2016), LegendBackground, Wolfram Language function, https://reference.wolfram.com/language/PlotLegends/ref/LegendBackground.html.
Text
Wolfram Research (2016), LegendBackground, Wolfram Language function, https://reference.wolfram.com/language/PlotLegends/ref/LegendBackground.html.
✖
Wolfram Research (2016), LegendBackground, Wolfram Language function, https://reference.wolfram.com/language/PlotLegends/ref/LegendBackground.html.
CMS
Wolfram Language. 2016. "LegendBackground." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/PlotLegends/ref/LegendBackground.html.
✖
Wolfram Language. 2016. "LegendBackground." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/PlotLegends/ref/LegendBackground.html.
APA
Wolfram Language. (2016). LegendBackground. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/PlotLegends/ref/LegendBackground.html
✖
Wolfram Language. (2016). LegendBackground. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/PlotLegends/ref/LegendBackground.html
BibTeX
✖
@misc{reference.wolfram_2025_legendbackground, author="Wolfram Research", title="{LegendBackground}", year="2016", howpublished="\url{https://reference.wolfram.com/language/PlotLegends/ref/LegendBackground.html}", note=[Accessed: 10-July-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_legendbackground, organization={Wolfram Research}, title={LegendBackground}, year={2016}, url={https://reference.wolfram.com/language/PlotLegends/ref/LegendBackground.html}, note=[Accessed: 10-July-2025
]}