Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Contour Plots  /
ContourPlot

  • ContourPlot[ f , x , xmin , xmax , y , ymin , ymax ] generates a contour plot of f as a function of x and y.
  • ContourPlot evaluates its arguments in a non-standard way (see Section A.4.2). You should use Evaluate to evaluate the function to be plotted if this can safely be done before specific numerical values are supplied.
  • ContourPlot has the same options as ContourGraphics, with the following additions:
  • ContourPlot has the default option setting Frame -> True.
  • ContourPlot returns a ContourGraphics object, with the MeshRange option set.
  • See the Mathematica book: Section 1.9.6.
  • See also: DensityPlot.
  • Related packages: Graphics`ContourPlot3D`, Graphics`ImplicitPlot`, Graphics`PlotField`, Graphics`ComplexMap`.

    Further Examples

    Here are two contour plots, one with and one without contour lines.

    Evaluate the cells to compare the graphics.

    In[1]:=

    In[2]:=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.