This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Contour Plots  /

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