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

ContourLabels

Updated In 7 Graphic
ContourLabels
is an option for contour plots which specifies how to label contours.
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.
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