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

name of geom to modify

new

named list of aesthetics

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

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

[Package ggplot2 version 0.8.9 Index]