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

ContourShading

ContourShading
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->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.
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:
Shade the regions between contours with colors from the color function:
In[1]:=
Click for copyable input
Out[1]=
 
Leave the regions between contours blank:
In[1]:=
Click for copyable input
Out[1]=
 
Specify an explicit list of colors to shade the regions between contours:
In[1]:=
Click for copyable input
Out[1]=
 
Shade the regions between contours with colors from ColorData:
In[1]:=
Click for copyable input
Out[1]=
New in 2 | Last modified in 6