update_geom_defaults {ggplot2}R Documentation

Modify geom/stat aesthetic defaults for future plots

Description

Modify geom/stat aesthetic defaults for future plots

Usage

update_geom_defaults(geom, new)

update_stat_defaults(stat, new)

Arguments

new

named list of aesthetics

stat,geom

name of geom/stat to modify

Examples

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

[Package ggplot2 version 1.0.1 Index]