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

ContourStyle

Updated In 6 Graphic
ContourStyle
is an option for contour plots that specifies the style in which contour lines or surfaces should be drawn.
  • ContourStyle->g specifies that a graphics directive g should be used to draw all contour lines or surfaces.
  • ContourStyle->{g1, g2, ...} specifies that successive directives gi should be used to draw successive contours.
  • If equations are given as input to ContourPlot or ContourPlot3D, the successive directives in ContourStyle->{g1, g2, ...} are used cyclically to draw contours for the successive equations.
  • The directives that can be given include:
Dashing[{w1,...}]dashing specification
Directive[g1,g2,...]composite graphics directive
GrayLevel[i]intensity
Hue[h]hue
Opacity[a]opacity
Red, Blue, etc.named colors
RGBColor[r,g,b]RGB color
Thickness[w]line thickness
  • For individual gi, a list of directives is equivalent to Directive[...]. For a single g, a list of directives must be given as {list}.
  • ContourStyle->None specifies that no explicit contour lines or surfaces should be drawn. Contour shading and meshes are not affected.
Contour lines are partially transparent by default:
In[1]:=
Click for copyable input
Out[1]=
 
Use dashed contour lines:
In[1]:=
Click for copyable input
Out[1]=
 
Show only the regions between contours, but not the actual contours:
In[1]:=
Click for copyable input
Out[1]=
 
Use partially transparent contour surfaces in three dimensions:
In[1]:=
Click for copyable input
Out[1]=
 
Give an explicit list of styles for contours:
In[1]:=
Click for copyable input
Out[1]=
New in 2 | Last modified in 6