Description Usage Arguments Author(s) Examples
Colour your ggplot2 graphs with FreshWater palettes.
1 | scale_color_freshwater(palette = "main", discrete = TRUE, reverse = FALSE, ...)
|
palette |
Choose your favourite palette: "Tajo", "Jarama", "Manzanares", "Culebro", "Aphanius", "Lepomis" or "Cyprinus" |
discrete |
TRUE/FALSE |
reverse |
TRUE/FALSE |
Carlos Cano-Barbacil
1 2 3 4 | ggplot(iris, aes(Sepal.Width, Sepal.Length, color = Sepal.Length)) +
geom_point(size = 2, alpha = 1) +
scale_color_freshwater(discrete = FALSE, palette = "Jarama")+
ggtitle("Jarama")+theme_test()+ theme(legend.position = "none")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.