[R] easy graphic question
David Scott
d.scott at auckland.ac.nz
Wed Oct 24 05:23:55 CEST 2001
On 23 Oct 2001, Myriam Abramson wrote:
>
> Hi!
>
> How do I specify a filled point in a scatterplot? Their size?
>
> plot(x,y) just gives "empty" points like "o". I want a full black
> point.
>
To see the symbols available, try:
plot(1:30,pch=1:30)
Symbol size is controlled by the parameter cex, so try
plot(1:30,pch=1:30,cex=2)
for example and you will undoubtedly see how it works.
David Scott
_________________________________________________________________
David Scott Department of Statistics
Tamaki Campus
The University of Auckland, PB 92019
Auckland NEW ZEALAND
Phone: +64 9 373 7599 ext 6830 Fax: +64 9 373 7000
Email: d.scott at Auckland.ac.nz
President, New Zealand Statistical Association
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list