Expand description
MATLAB-style plot style string parsing.
A style string combines an optional color code, an optional marker code, and an optional line-style code in any order:
| Code | Meaning |
|---|---|
r g b c m y k w | Color |
. o x + * s d ^ | Marker |
- -- -. : | Line style |
Structs§
- Style
Color - RGB color triple (red, green, blue).
- Style
Spec - Combined plot style parsed from a MATLAB-style format string.
- Theme
- Coordinated colour preset for a figure.
Enums§
- Axis
Mode - Axis display mode set via
axis(...). - Linestyle
Kind - Line drawing style.
- Marker
Kind - Marker symbol kind.
- YAxis
- Active Y axis for new series in a dual-axis (
yyaxis) figure.
Functions§
- looks_
like_ style_ str - Returns
truewhenslooks like a MATLAB-style format string. - parse_
color_ token - Tries to parse
tokenas a color: single letter, full name, or#RRGGBBhex. - parse_
style_ str - Parses a MATLAB-style format string into a
StyleSpec.