[R] scatterplot with filled circles
B.-Markus Schuller
b.markus.schuller at googlemail.com
Tue Nov 16 14:06:40 CET 2010
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: schuller at 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
>
>
>
>
>
More information about the R-help
mailing list