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
    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.


Basic Examples  (5)

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:

Introduced in 1991
Updated in 2007