ggplot2 — scale_colour_land" />

Provides the AVHRR Global Land Cover classification as modified by Paul Tol (colour-blind safe).

scale_colour_land(..., aesthetics = "colour")

scale_color_land(..., aesthetics = "colour")

scale_fill_land(..., aesthetics = "fill")

Arguments

...

Arguments passed on to discrete_scale.

aesthetics

A character string or vector of character strings listing the name(s) of the aesthetic(s) that this scale works with.

Value

A discrete scale.

Details

Values will be matched based on the soil names.

References

Tol, P. (2018). Colour Schemes. SRON. Technical Note No. SRON/EPS/TN/09-002, issue 3.1. URL: https://personal.sron.nl/~pault/data/colourschemes.pdf

See also

Other Themed colour schemes: scale_colour_soil, scale_colour_stratigraphy

Examples

library(ggplot2) land <- data.frame( name = c( "water", "evergreen needleleaf forest", "deciduous needleleaf forest", "mixed forest", "evergreen broadleaf forest", "deciduous broadleaf forest", "woodland", "wooded grassland", "grassland", "cropland", "closed shrubland", "open shrubland", "bare ground", "urban and built" ) ) ggplot2::ggplot(land, ggplot2::aes(fill = name)) + ggplot2::geom_rect(aes(xmin = rep(0, 14), xmax = rep(1, 14), ymin = 1:14, ymax = 1:14+1)) + ggplot2::scale_y_reverse() + scale_fill_land(name = "land")