powered by
Uses the function grDevices::hcl.colors() to generate a continuous color palette.
grDevices::hcl.colors()
color_continuous(n = 5, palette = "Zissou 1", rev = FALSE)
color vector
(required, integer) number of colors to generate. Default = NULL
(required, character string) Argument palette of grDevices::hcl.colors(). Default: "Zissou 1"
palette
(optional, logical) If TRUE, the color palette is reversed. Default: FALSE
Other internal_plotting: color_discrete(), utils_color_breaks(), utils_line_color(), utils_line_guide(), utils_matrix_guide(), utils_matrix_plot()
color_discrete()
utils_color_breaks()
utils_line_color()
utils_line_guide()
utils_matrix_guide()
utils_matrix_plot()
color_continuous(n = 20)
Run the code above in your browser using DataLab