Hey,

the parameter in the plot command you are looking for is "pch".
For filled circles type:

> plot(X ~ Y, type = 'p', col = 'red', pch=16)

The 16 determines the filled circles.
Cheers,

Mango

-----------------------------------------
B.-Markus Schuller aka Mango

Sensory Ecology Group
Max-Planck-Institute for Ornithology
82319 Seewiesen, Germany

phone: +49 (0)8157 932 -378
fax:   +49 (0)8157 932 -344
email: schul...@orn.mpg.de
http://www.orn.mpg.de/nwg/abtsiemers.html
-----------------------------------------
Never run for the bus.
Never skip tea.


On 16.11.2010 13:28, DrCJones wrote:

for a simple scatterplot:

plot(X ~ Y, type = 'p', col = 'red')

this produces red-edged circles, but I want to fill in the circles.

can this be done? I checked '? plot' already but couldn't find what I was
looking for.

cheers






______________________________________________
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