<< colormap | Graphics functions | contour >> |
[linespec, colorspec, markerspec, msg] = colstyle (str) |
[linespec, colorspec, markerspec, msg] = colstyle (str, 'plot') |
a row vector of character or scalar string: line specification.
linespec returns 'none' and not '' with this option.
a string: line type.
a string: color part.
a string: marker part.
a string: contain the error message string.
colstyle parses color and style from string.
[l, c, m, msg] = colstyle('r:x')
[l, c, m, msg] = colstyle('*')
[l, c, m, msg] = colstyle('*', 'plot')
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET