View source: R/color_continuous.R
color_continuous | R Documentation |
Uses the function grDevices::hcl.colors()
to generate a continuous color palette.
color_continuous(n = 5, palette = "Zissou 1", rev = FALSE)
n |
(required, integer) number of colors to generate. Default = NULL |
palette |
(required, character string) Argument |
rev |
(optional, logical) If TRUE, the color palette is reversed. Default: FALSE |
color vector
Other internal_plotting:
color_discrete()
,
utils_color_breaks()
,
utils_line_color()
,
utils_line_guide()
,
utils_matrix_guide()
,
utils_matrix_plot()
color_continuous(n = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.