| update_geom_defaults {ggplot2} | R Documentation |
Modify geom/stat aesthetic defaults for future plots
update_geom_defaults(geom, new) update_stat_defaults(stat, new)
new |
named list of aesthetics |
stat,geom |
name of geom/stat to modify |
update_geom_defaults("point", list(colour = "darkblue"))
qplot(mpg, wt, data = mtcars)
update_geom_defaults("point", list(colour = "black"))