powered by
Dune palettes for plotting with 'ggplot2'
scale_fill_dune_c(name, ...)
An object defining a continuous fill scale for use with 'ggplot2'.
Name of palette. Run names(dune_palettes) to view options
names(dune_palettes)
Other arguments passed on to scale_fill_gradientn
scale_fill_gradientn
library(ggplot2) ggplot(data = mtcars, aes(x = mpg, y = disp, fill = wt)) + geom_point() + scale_fill_dune_c("fermen2")
Run the code above in your browser using DataLab