use the built in palettes in a ggplot chain.
1 2 3 4 5 6 7 | scale_color_cyberpunk(palette = "main", discrete = T, reverse = F, ...)
scale_fill_cyberpunk(palette = "main", discrete = T, reverse = F, ...)
scale_color_linesaber(palette = "laser sword", discrete = T, reverse = T, ...)
scale_fill_linesaber(palette = "laser sword", discrete = T, reverse = T, ...)
|
palette |
the name of the palette ('main', 'zune', 'cotton candy', 'laser sword') |
discrete |
Boolean: is the scale discrete or not |
reverse |
Boolean: should the scale be reversed |
... |
additional arguments |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.