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. TIA -- myriam -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi Myrian, I suggest you to read the document UsingR item 3.3.1 on "Size, colour and choice of plotting symbol" (see pages 24 and 25). Also try "?par" at the command line and check for pch and cex. David's examples are very nice too. Best whishes, Antonio Olinto . ----- Original Message ----- From: "Myriam Abramson" <mabramso at gmu.edu> To: <r-help at stat.math.ethz.ch> Sent: Wednesday, October 24, 2001 1:04 AM Subject: [R] easy graphic question> > 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. > > TIA > > > -- > myriam > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-> r-help mailing list -- Readhttp://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 >_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Are there any good books/tutorials that explain how to best make use of the object programming tools in R? Alternatively, can someone suggest a good oop book that describes (and gives examples) of oop with large volumes of scientific/statistical data. Cheers, Randall -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi, Is there a way to superimpose plots? This is a followup of the question on putting 95% confidence interval in a ecdf. M. Maechler and k. halvorsen ecdf.ksCl works like a charm by he way, thanks. I have yet to find a way to get more than one ecdf in the same plot, or any other data plotting for that matter. thanks, Christian -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
par(new=TRUE) (make sure to set axes=FALSE, xlab="",ylab="" unless you really want these things plotted on top of your old graph) or possibly lines() or points() On Thu, 25 Oct 2001, Christian Blouin wrote:> Hi, > Is there a way to superimpose plots? This is a followup of the question on > putting 95% confidence interval in a ecdf. M. Maechler and k. halvorsen > ecdf.ksCl works like a charm by he way, thanks. > > I have yet to find a way to get more than one ecdf in the same plot, or any > other data plotting for that matter. > > thanks, > > Christian > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-- 318 Carr Hall bolker at zoo.ufl.edu Zoology Department, University of Florida http://www.zoo.ufl.edu/bolker Box 118525 (ph) 352-392-5697 Gainesville, FL 32611-8525 (fax) 352-392-3704 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Thu, 25 Oct 2001, Christian Blouin wrote:> Hi, > Is there a way to superimpose plots? This is a followup of the question on > putting 95% confidence interval in a ecdf. M. Maechler and k. halvorsen > ecdf.ksCl works like a charm by he way, thanks.do-some-plotting-but-set-xlim()-ylim() par(new=T) do-some-more-plotting-with-same-xlim()-ylim() is one way to do it> > I have yet to find a way to get more than one ecdf in the same plot, or any > other data plotting for that matter. > > thanks, > > Christian > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >*********************************************************************** Jens Nieschulze Institute for Forest Biometrics & Phone: ++49-551-39-12107 Applied Computer Science Fax : ++49-551-39-3465 Buesgenweg 4 37077 Goettingen E-mail: jniesch at uni-forst.gwdg.de GERMANY http://www.uni-forst.gwdg.de/~jniesch -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Christian Blouin <cblouin at is2.dal.ca> writes:>Hi, >Is there a way to superimpose plots? This is a followup of the question on >putting 95% confidence interval in a ecdf. M. Maechler and k. halvorsen >ecdf.ksCl works like a charm by he way, thanks. > >I have yet to find a way to get more than one ecdf in the same plot, or any >other data plotting for that matter.Try: par(new = TRUE) Before the 2nd plot. Mark -- Mark Myatt -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi, how are you plotting? Have you tried e.g.> plot( x, y1) > lines( x, y2)this should draw the function y2 on the same graph where you plotted y1 Ott Toomet On Thu, 25 Oct 2001, Christian Blouin wrote:> Hi, > Is there a way to superimpose plots? This is a followup of the question on > putting 95% confidence interval in a ecdf. M. Maechler and k. halvorsen > ecdf.ksCl works like a charm by he way, thanks. > > I have yet to find a way to get more than one ecdf in the same plot, or any > other data plotting for that matter. > > thanks, > > Christian > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
try plot(1:20, 1:20, pch=1:20) for a selection of plotting symbols Kjetil Halvorsen 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. > > TIA > > -- > myriam > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._