scfillbrewer: Scale: Brewer colours Use Brewer colour scheme for colour...

View source: R/scale-categorical.r

scfillbrewerR Documentation

Scale: Brewer colours Use Brewer colour scheme for colour fill.

Description

Scale: Brewer colours Use Brewer colour scheme for colour fill.

Usage

scfillbrewer(plot, name = "", palette = 1)

scbrewer(plot, name = "", palette = 1)

Arguments

plot

ggplot object

name

name of the scale (used in the legend)

palette

Color Brewer palette to use, see brewer.pal for details. Note that palette type is chosen automatically.


hadley/ggplot1 documentation built on Dec. 1, 2024, 11:23 a.m.