Skip to content

ContourPlot

Draws contours of a 2-variable function.

$ wo 'Head[ContourPlot[x^2 + y^2, {x, -1, 1}, {y, -1, 1}]]'
Graphics

Options

In addition to the common options above, ContourPlot recognizes:

  • Contours — an integer (number of contours) or a list of levels.
  • ContourStyle — directives applied to the contour lines.
  • ContourShadingTrue / False / Automatic.
  • ColorFunction — color map for the shaded regions.
  • PlotPoints / MaxRecursion — sampling control.