scale_fill_gradient2 | R Documentation |
ggplot2::scale_fill_gradient2()
Selects the colours depending on the current set theme.
scale_fill_gradient2(
...,
low,
high,
mid,
midpoint = 0,
space = "Lab",
guide = "colourbar",
na.value = "grey50",
aesthetics = "fill"
)
Thierry Onkelinx, Oona Op de Weerdt, Nicole De Groof
Other scales:
scale_colour_discrete()
,
scale_colour_gradient()
,
scale_colour_gradient2()
,
scale_colour_viridis_d()
,
scale_fill_discrete()
,
scale_fill_gradient()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.