Mathematica > Visualization and Graphics > Graphics Options & Styling > Plotting Options > ContourStyle >

ContourStyle

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 specifies that successive directives should be used to draw successive contours.
  • 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 , 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:
Use dashed contour lines:
Show only the regions between contours, but not the actual contours:
Use partially transparent contour surfaces in three dimensions:
Give an explicit list of styles for contours:
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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF