Change default point size of geom_point () in ggplot2?
With some release, the points geom_point
have become larger. It could be 2.0 : "geom_point () now uses form 19 instead of 16."
How can I make the default point from geom_point smaller than before?
Edit: How to change ALL plots without adding code for each plot? That is, by default. I looked in get_theme () and didn't see anything about points.
+3
source to share
1 answer
refer http://ggplot2.tidyverse.org/reference/geom_point.html
ggplot(mtcars, aes(disp, hp)) + geom_point(shape = 16)
To update the default ggplot geometry parameters:
update_geom_defaults("point", list(shape = 16))
+3
source to share