Contours

Contours
is an option for contour plots that specifies the contours to draw.

DetailsDetails

  • The following settings can be given for Contours:
  • ncontours at n equally spaced levels
    Automaticcontours chosen automatically
    {Automatic,n}at most n contours chosen automatically
    {f1,f2,}contours at levels
    {{f1,gr1},}contours drawn with graphics directives
    funca function to be applied to , to get the list of contours
  • With Automatic settings, "nice" equally spaced contour levels are chosen, whose values minimize the number of digits in their decimal representation.
  • In ContourPlot and ListContourPlot, Contours specifies contour lines.
  • In ContourPlot3D and ListContourPlot3D, Contours specifies contour surfaces.
  • ContourPlot and ContourPlot3D let you give an equation or a list of equations as a way to specify single contours to draw.

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Automatically select contours:

In[1]:=
Click for copyable input
Out[1]=

Select three equally spaced contours:

In[1]:=
Click for copyable input
Out[1]=

Specify an explicit set of contours:

In[1]:=
Click for copyable input
Out[1]=

Select five contour surfaces in three dimensions:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 1991
(2.0)
| Updated in 2007
(6.0)