Description Usage Arguments Author(s) See Also
View source: R/scale_colour_gradient2.R
These functions wrap the standard ggplot versions to apply a diverging ColorBrewer palette to ggplot figures.
1 2 3 | scale_color_gradient2(..., low = "#2166ac", mid = "#f7f7f7", high = "#b2182b")
scale_colour_gradient2(..., low = "#2166ac", mid = "#f7f7f7", high = "#b2182b")
scale_fill_gradient2(..., low = "#2166ac", mid = "#f7f7f7", high = "#b2182b")
|
... |
Arguments passed to corresponding |
low |
Color of low end value |
mid |
Color of midpoint |
high |
Color of high end value |
Charlie Gibbons
scale_colour_gradient2
, scale_fill_gradient2
from the ggplot2
package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.