colstyle
Parse color and style from string.
Syntax
[linespec, colorspec, markerspec, msg] = colstyle (str)
[linespec, colorspec, markerspec, msg] = colstyle (str, 'plot')
Input argument
str - a row vector of character or scalar string: line specification.
'plot' - linespec returns 'none' and not '' with this option.
Output argument
linespec - a string: line type.
colorspec - a string: color part.
markerspec - a string: marker part.
msg - a string: contain the error message string.
Description
colstyle parses color and style from string.
Example
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated