Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (20 sloc) 0.554 kb
\title{Modify geom/stat aesthetic defaults for future plots}
update_geom_defaults(geom, new)
update_stat_defaults(stat, new)
\item{stat,geom}{name of geom/stat to modify}
\item{new}{named list of aesthetics}
Modify geom/stat aesthetic defaults for future plots
update_geom_defaults("point", list(colour = "darkblue"))
qplot(mpg, wt, data = mtcars)
update_geom_defaults("point", list(colour = "black"))
Jump to Line
Something went wrong with that request. Please try again.