#' Setup fill palette for ggplot2
1 2 3 4 5 6 7 | scale_fill_uos(
...,
palette = "marine",
discrete = TRUE,
alpha = 1,
reverse = TRUE
)
|
... |
additional arguments to pass to scale_color_gradientn |
palette |
Choose from 'uos_palettes' list |
discrete |
whether to use a discrete colour palette |
alpha |
pass through parameter to |
reverse |
If TRUE, the direction of the colours is reversed. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.