View source: R/scale_fill_hcl.R
scale_fill_hcl | R Documentation |
These functions allow you to specify your own set of mappings from levels in the data to aesthetic values.
scale_fill_hcl(..., palette = "RdYlBu", reverse = FALSE)
... |
Arguments passed on to
|
palette |
the name of the palette to generate colors from. A list of all
available palettes can be found by running |
reverse |
If |
The functions 'scale_colour_manual()', 'scale_fill_manual()', 'scale_size_manual()', etc. work on the aesthetics specified in the scale name: 'colour', 'fill', 'size', etc. However, the functions 'scale_colour_manual()' and 'scale_fill_manual()' also have an optional 'aesthetics' argument that can be used to define both 'colour' and 'fill' aesthetic mappings via a single function call (see examples). The function 'scale_discrete_manual()' is a generic scale that can work with any aesthetic or set of aesthetics provided via the 'aesthetics' argument.
Scale layer for the fill aesthetic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.