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 / Basic Options  /
PlotStyle

  • PlotStyle is an option for Plot and ListPlot that specifies the style of lines or points to be plotted.
  • PlotStyle -> style specifies that all lines or points are to be generated with the specified graphics directive, or list of graphics directives.
  • PlotStyle -> , , ... specifies that successive lines generated 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 1.9.3Section 2.9.3.
  • See also: Graphics, TextStyle.

    Further Examples

    Colors are a way to distinguish a tangle of curves.

    Evaluate the cells to compare the graphics.

    In[1]:=

    In[2]:=