ContourLabels

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

DetailsDetails

  • 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,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 as an explicit displayed label, and uses as a tooltip for each complete contour line.
  • The positions of contour labels are determined automatically to optimize readability.

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

Automatically label contour lines with tooltips:

In[1]:=
Click for copyable input
Out[1]=

Label with tooltips and text:

In[1]:=
Click for copyable input
Out[1]=

Customize the appearance of the labels:

In[1]:=
Click for copyable input
Out[1]=
New in 6 | Last modified in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »