What does size really mean in geom_point?
Posted
by
Jonas Stein
on Stack Overflow
See other posts from Stack Overflow
or by Jonas Stein
Published on 2012-11-25T04:35:40Z
Indexed on
2012/11/25
5:03 UTC
Read the original article
Hit count: 198
ggplot2
In both plots the points look different, but why?
mya <- data.frame(a=1:100)
ggplot() +
geom_path(data=mya, aes(x=a, y=a, colour=2, size=seq(0.1,10,0.1))) +
geom_point(data=mya, aes(x=a, y=a, colour=1, size=1)) +
theme_bw() +
theme(text=element_text(size=11))
ggplot() +
geom_path(data=mya, aes(x=a, y=a, colour=2, size=1)) +
geom_point(data=mya, aes(x=a, y=a, colour=1, size=1)) +
theme_bw() +
theme(text=element_text(size=11))
© Stack Overflow or respective owner