update_geom_defaults {ggplot2}R Documentation

Update geom defaults

Description

Modify geom aesthetic defaults for future plots

Usage

update_geom_defaults(geom, new)

Arguments

geom
new

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

update_geom_defaults("point", aes(colour = "darkblue"))
qplot(mpg, wt, data = mtcars)
update_geom_defaults("point", aes(colour = "black"))

[Package ggplot2 version 0.8.2 Index]