create_gradientn_scale | R Documentation |
Create a gradientn scale using nish colour scheme.
create_gradientn_scale(aes = c("colour", "fill"))
aes |
A character aesthetic. Allowed values are "colour" and "fill" (partial matching). |
If options ggplot2.continuous.colour and ggplot2.continuous.fill are unset, gradient is used instead of continuous.
A function that returns a gradientn scale when called. Defaults to
use the following colours, nish_colours[c(7, 5, 3:1)]
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.