is an option for contour plots that specifies how the regions between contour lines should be shaded.


  • The following settings can be given:
  • Noneuse no shading
    Automaticuse shading based on ColorFunction
    {g1,g2,}cyclically use successive directives for successive regions
  • With ContourShading->False, regions between contour lines are left blank.
  • With ContourShading->Automatic, regions are colored based on the setting for the option ColorFunction. The default is to color the regions with gray levels running from black to white with increasing height.
  • The value given as the argument for the ColorFunction function is the average of the values of the contour lines bounding a particular region. If ColorFunctionScaling->True, it is scaled so as to lie between 0 and 1.


Basic Examples  (4)

Shade the regions between contours with colors from the color function:

Leave the regions between contours blank:

Specify an explicit list of colors to shade the regions between contours:

Shade the regions between contours with colors from ColorData:

Introduced in 1991
Updated in 1999