This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

ContourLabels

ContourLabels
is an option for contour plots that specifies how to label contours.
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 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.
Automatically label contour lines with tooltips:
Label with tooltips and text:
Customize the appearance of the labels:
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