[R] scatterplot with filled circles

Ben Bolker bbolker at gmail.com
Tue Nov 16 14:09:12 CET 2010


DrCJones <matthias.goddard <at> gmail.com> writes:

> for a simple scatterplot: 
> 
> plot(X ~ Y, type = 'p', col = 'red') 
> 
> this produces red-edged circles, but I want to fill in the circles.
 
plot(X ~ Y, type = 'p', col = 'red', pch=16) 

  Are you sure you want X~Y and not Y~X?



More information about the R-help mailing list