This scale maps ordinal or continuous values onto scale varying from very light grey to sepcified colour (or other way round if reverse = TRUE). All colours from basic palette are supported with default red.
1 2 3 4 5 6 7 8 | scale_colour_sequential(..., colour = "red", reverse = FALSE,
second.colour = "grey90")
scale_color_sequential(..., colour = "red", reverse = FALSE,
second.colour = "grey90")
scale_fill_sequential(..., colour = "red", reverse = FALSE,
second.colour = "grey90")
|
... |
Arguments passed on to continuous_scale |
colour |
first boundary of scale. Name of one of knmf_colours or corresponding integer |
reverse |
logical. FALSE (default) if selected colour should represent low values and light grey high values, TRUE otherwise. |
second.colour |
second boundary of scale. Name of one of knmf_colours or corresponding integer |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.