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