-
Notifications
You must be signed in to change notification settings - Fork 37
Colours and styles
Lines in the graph can be customized
The lines are cycled through a set of predefined colors and styles. These can be overridden using -lc
(line colors), -ls
(line styles), and -ma
(markers) for example:
verif ECMWF.nc MEPS.nc -m obsfcst -lc red,[0.1,0.1,0.9] -ls -,None -ma *,s
Colors can be specified by name, a red/green/blue triplet, or a number between 0 and 1 (gives various shades of grey).
For line styles, -
(solid), --
(dashed), -.
(dot dashed), :
(dotted), and None
(no line) are supported.
Commonly used markers include o
(circle), s
(square), .
(small circle), and *
(star). See the matplotlib reference for a complete list. Use None
to remove the marker.
Line styles, colors, and markers are cycled. That is, if there are two linestyles and 6 input files, then the set of two linestyles are repeated 3 times (-,--
becomes -,--,-,--,-,--
). Styles, colors, and markers are cycled independently, so they do not need to be the same length.
By default, a grid is plotted. To hide the grid, use -nogrid. To adjust the color, style, and line width, use -gc, -gs, -gw respectively. For example:
verif ECMWF.nc MEPS.nc -m mae -gc red -gs -- -gw 2
- Introduction
- Installation
- Basic usage
- Metrics and diagrams
- Visualization options
- Data manipulation options
- Datasets
- Other