Try adding pch = 16 to your plot call.
HTH,
Dennis
On Tue, Nov 16, 2010 at 4:28 AM, 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
"Are you sure you want X~Y and not Y~X? "
You are right of course - sorry that was just a typo ;)
--
View this message in context:
http://r.789695.n4.nabble.com/scatterplot-with-filled-circles-tp3044690p3044776.html
Sent from the R help mailing list archive at Nabble.com.
Fantastic thanks!
--
View this message in context:
http://r.789695.n4.nabble.com/scatterplot-with-filled-circles-tp3044690p3044772.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/
DrCJones 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?
_
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-Pl
5 matches
Mail list logo