Getting Started Previous page   Next Page

Specifying Line Styles and Colors

It is possible to specify color, line styles, and markers (such as plus signs or circles) when you plot your data using the plot command:

color_style_marker is a string containing from one to four characters (enclosed in single quotation marks) constructed from a color, a line style, and a marker type:

You can also edit color, line style, and markers interactively. See Editing Plots for more information.


Previous page  Multiple Data Sets in One Graph Plotting Lines and Markers Next page

© 1994-2005 The MathWorks, Inc.