ContourLabels

ContourLabels

is an option for contour plots that specifies how to label contours.

Details

  • The following settings for ContourLabels can be used:
  • Noneno labeling
    Automaticlabel with tooltips only
    Truelabel with text only
    Alllabel with text and tooltips
    flabel with f[x,y,z]
    {f,g}use g as a tooltip for the complete contour
  • With ContourLabels->f, the label can be any expression or graphic, and can include constructs such as Tooltip.
  • ContourLabels->{f,g} uses f[x,y,z] as an explicit displayed label, and uses g[x,y,z] as a tooltip for each complete contour line.
  • The positions of contour labels are determined automatically to optimize readability.

Examples

Basic Examples  (3)

Automatically label contour lines with tooltips:

Label with tooltips and text:

Customize the appearance of the labels:

Wolfram Research (2007), ContourLabels, Wolfram Language function, https://reference.wolfram.com/language/ref/ContourLabels.html (updated 2008).

Text

Wolfram Research (2007), ContourLabels, Wolfram Language function, https://reference.wolfram.com/language/ref/ContourLabels.html (updated 2008).

CMS

Wolfram Language. 2007. "ContourLabels." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/ContourLabels.html.

APA

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

BibTeX

@misc{reference.wolfram_2023_contourlabels, author="Wolfram Research", title="{ContourLabels}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/ContourLabels.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_contourlabels, organization={Wolfram Research}, title={ContourLabels}, year={2008}, url={https://reference.wolfram.com/language/ref/ContourLabels.html}, note=[Accessed: 19-March-2024 ]}