col_vec: chr string of plot colors to use, typically passed to scale_colour_gradientn for shading. Any color palette from RColorBrewer can be used as a named input. Palettes from grDevices must be supplied as the returned string of colors for each palette.
Returns
A character vector of colors in hexadecimal notation.
Details
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'.
Examples
## defaultsgradcols()## another RColorBrewer palettegradcols('Pastel2')## a silly examplegradcols(rainbow(7))