PlotLegends`
PlotLegends`

Legend

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

Legend[{{box1,text1},},options]

generates a legend with the specified boxes and text.

Legend[func,num,options]

generates a legend by applying func to numbers between 0 and 1, incremented by the number of boxes num-1.

Legend[func,num,mintext,maxtext,options]

labels the first and last boxes with mintext and maxtext, respectively.

Details

Examples

Basic Examples  (1)

Graphics primitives making up a legend:

Surface plot with a legend:

Wolfram Research (2007), Legend, Wolfram Language function, https://reference.wolfram.com/language/PlotLegends/ref/Legend.html.

Text

Wolfram Research (2007), Legend, Wolfram Language function, https://reference.wolfram.com/language/PlotLegends/ref/Legend.html.

BibTeX

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

BibLaTeX

@online{reference.wolfram_2021_legend, organization={Wolfram Research}, title={Legend}, year={2007}, url={https://reference.wolfram.com/language/PlotLegends/ref/Legend.html}, note=[Accessed: 29-November-2021 ]}

CMS

Wolfram Language. 2007. "Legend." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/PlotLegends/ref/Legend.html.

APA

Wolfram Language. (2007). Legend. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/PlotLegends/ref/Legend.html