gradcols | R Documentation |
Gets colors used for WRTDS plots
gradcols(col_vec = NULL)
col_vec |
chr string of plot colors to use, typically passed to |
This is a convenience function for retrieving a color palette that is used by most of the plotting functions. Palettes from RColorBrewer will use the maximum number of colors. The default palette is 'Spectral'.
A character vector of colors in hexadecimal notation.
dynaplot
, gridplot
, wtsplot
## defaults
gradcols()
## another RColorBrewer palette
gradcols('Pastel2')
## a silly example
gradcols(rainbow(7))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.