On Oct 16, 2010, at 12:12 PM, Hongwei Dong wrote:

Hi, R users,

Can anyone tell me how I can change the size of points in my plot?

For example:

x <- c(1,3,6,9,12)
y <- c(1.5,2,7,8,15)
plot(x,y,pch=20)

How do I reduce the size of those points?

plot(x,y,pch=20, cex=0.2)
plot(x,y,pch=20, cex=c(0.2, 0.8, 2, 4) )

--
David.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to