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

stat,geom

name of geom/stat to modify

new

named list of aesthetics

Examples

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

[Package ggplot2 version 0.9.3.1 Index]