scale_fill_gradient2 {INBOtheme}R Documentation

redefine scale_fill_gradient2

Description

Selects the colours from the INBO style guide when the default text colour is INBObrown.

Usage

scale_fill_gradient2(..., low = INBOblue, high = INBOred, mid = "white",
  midpoint = 0, space = "Lab", na.value = "grey50", guide = "colourbar")

Arguments

...

Other arguments passed on to continuous_scale to control name, limits, breaks, labels and so forth.

low

Colour for the low end of the gradient

high

Colour for the high end of the gradient

mid

colour for mid point

midpoint

The midpoint (in data value) of the diverging scale. Defaults to 0.

space

colour space in which to calculate gradient. Must be "Lab" - other values are deprecated.

na.value

Colour to use for missing values

guide

Type of legend. Use "colourbar" for continuous colour bar, or "legend" for discrete colour legend.

Author(s)

Thierry Onkelinx, Oona Op de Weerdt, Nicole De Groof


[Package INBOtheme version 0.5.5.2 Index]