scale_color_gradient2: Apply diverging palette to ggplot figures

Description Usage Arguments Author(s) See Also

View source: R/scale_colour_gradient2.R

Description

These functions wrap the standard ggplot versions to apply a diverging ColorBrewer palette to ggplot figures.

Usage

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

...

Arguments passed to corresponding ggplot2 function (see below)

low

Color of low end value

mid

Color of midpoint

high

Color of high end value

Author(s)

Charlie Gibbons

See Also

scale_colour_gradient2, scale_fill_gradient2 from the ggplot2 package


Brattle/BrattleExtras documentation built on May 6, 2019, 8:47 a.m.