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

  • ContourStyle is an option for contour plots that specifies the style in which contour lines should be drawn.
  • ContourStyle -> style specifies that all contour lines are to be generated with the specified graphics directive, or list of graphics directives.
  • ContourStyle -> , , ... specifies that successive contour lines should use graphics directives , ... . The styles must be enclosed in lists, perhaps of length one.
  • The are used cyclically.
  • Styles can be specified using graphics directives such as Dashing, Hue and Thickness.
  • See the Mathematica book: Section 2.9.7.
  • See also: PlotStyle.

    Further Examples

    The first plot uses the default style; the second colors the contours red and blue.

    Evaluate the cells to compare the graphics.

    In[1]:=

    In[2]:=