Description Usage Arguments Examples
Continuous, monochromatic colour scales
This scale maps values of continuous variables onto monochromatic color scale. Currently only red and blue colours are supported with default red
1 2 3 4 5 6 7 | monochrome_palette(colour = "red", reverse = FALSE, ...)
scale_colour_continuous_knmf(..., colour = "red", reverse = FALSE)
scale_color_continuous_knmf(..., colour = "red", reverse = FALSE)
scale_fill_continuous_knmf(..., colour = "red", reverse = FALSE)
|
colour |
either "red" or "blue". Choose color for the scale |
reverse |
logical. FALSE (default) if dark colour should represent low values and bright high values TRUE otherwise |
... |
Arguments passed on to discrete_scale |
1 2 3 4 5 6 | ## Not run:
ggplot(mtcars, aes(hp, mpg, colour = drat)) + geom_point() + scale_colour_continuous_knmf()
ggplot(mtcars, aes(hp, mpg, colour = drat)) + geom_point() +
scale_colour_continuous_knmf(colour = "blue")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.