Next: , Previous: , Up: Advanced Plotting   [Contents][Index]


15.4.3 Marker Styles

Marker styles are specified by the following properties:

marker

A character indicating a plot marker to be place at each data point, or "none", meaning no markers should be displayed.

markeredgecolor

The color of the edge around the marker, or "auto", meaning that the edge color is the same as the face color. See Colors.

markerfacecolor

The color of the marker, or "none" to indicate that the marker should not be filled. See Colors.

markersize

A number specifying the size of the marker. The default is 1. A value of 2 is twice as large as the default, etc.

The colstyle function will parse a plot-style specification and will return the color, line, and marker values that would result.

: [style, color, marker, msg] = colstyle (linespec)

Parse linespec and return the line style, color, and markers given.

In the case of an error, the string msg will return the text of the error.