r - How to make the points look larger in ggplot -
ggplot(data_exp, aes(x = transaction, y = exp, size = count, colour = class, label = label)) + geom_point(alpha = 0.5) + geom_text(colour = "black", vjust = 0, nudge_y = 0.5, size = 3, fontface = "bold")
i want make points in plot larger, try make size becomes count*1000, nothing seems change.
use size
aesthetic in geom_point
an example;
library(ggplot2) data(mtcars) # increase point size based on variable value p <- ggplot(mtcars, aes(wt,mpg)) p + geom_point(aes(size=wt*100))
Comments
Post a Comment