[R] reduce the size of points in plot???

Chris Mcowen chrismcowen at me.com
Sat Oct 16 21:17:00 CEST 2010


Use ?points for more info on changing the appearance of points. The cex function is what you are looking for.

Chris 
On 16 Oct 2010, at 20:12, 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?


Thanks.

Gary

	[[alternative HTML version deleted]]

______________________________________________
R-help at 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.



More information about the R-help mailing list