scale_colour_rss_c | R Documentation |
Plotting with RSS palettes for colour ggplot2
scale_colour_rss_c(palette, direction = 1, ...)
palette |
name of palette. Run |
direction |
Sets order of colors. Default palette_choice is 1. If direction is -1, palette_choice color order is reversed |
... |
Other arguments passed on to |
A ggproto object defining a continuous colour scale for use with ggplot2.
library(ggplot2)
ggplot(data = mtcars, aes(x = mpg, y = disp, color = wt)) +
geom_point() +
scale_colour_rss_c(palette = "signif_seq")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.