Hy, I have dowloaded the R-version for Windows. I would want to plot different pictures on the same device, but I am not able to do it (i.e I would like make 2 qqplot on the same graphic). Can you help me? Thanks in advance Davide reply to: d.tarfanelli at libero.it -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"d.tarfanelli at libero.it" wrote:> > Hy, > I have dowloaded the R-version for Windows. > I would want to plot different pictures on the same device, but I am not > able to do it (i.e I would like make 2 qqplot on the same graphic). > Can you help me?You can use points() like in the following example. Z y <- rt(200, df = 5) y.q <- qqnorm(y, plot.it=FALSE) z <- rnorm(200) z.q <- qqnorm(z, plot.it=FALSE) plot(y.q) points(z.q, col=2)> Thanks in advance > Davide > > reply to: d.tarfanelli at libero.it > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 16 Oct 2001, d.tarfanelli at libero.it wrote:> Hy, > I have dowloaded the R-version for Windows. > I would want to plot different pictures on the same device, but I am not > able to do it (i.e I would like make 2 qqplot on the same graphic). > Can you help me? > Thanks in advance > Davideset xlim,ylim on each plot to the same values and use something like qqplot(....) par(new=T) qqplot(....)> > reply to: d.tarfanelli at libero.it > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Perhaps Davide wants to put two plots side by side, rather than superimposed. In this case the necessary commands are, par(mfrow=c(1,2)) # 1 row and 2 columns qqnorm(y1) qqline(y1) qqnorm(y2) qqline(y2) par(mfrow=c(1,1)) # switch back to 1 plot -Greg > -----Original Message----- > From: Achim Zeileis [mailto:zeileis at ci.tuwien.ac.at] > Sent: Tuesday, October 16, 2001 5:57 AM > To: d.tarfanelli at libero.it > Cc: r-help at stat.math.ethz.ch > Subject: Re: [R] help me > > > "d.tarfanelli at libero.it" wrote: > > > > Hy, > > I have dowloaded the R-version for Windows. > > I would want to plot different pictures on the same > device, but I am not > > able to do it (i.e I would like make 2 qqplot on the same > graphic). > > Can you help me? > > You can use points() like in the following example. > Z > > > y <- rt(200, df = 5) > y.q <- qqnorm(y, plot.it=FALSE) > z <- rnorm(200) > z.q <- qqnorm(z, plot.it=FALSE) > plot(y.q) > points(z.q, col=2) > > > > > > Thanks in advance > > Davide > > > > reply to: d.tarfanelli at libero.it > > > > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. > -.-.-.-.-.-.-.-.-.- > > 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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. > _._._._._._._._._._ > LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I have a problem with R-graphics. Infact, I would want to plot a graphic with a logaritmic-scale on the axis Y, and I would want to see only the tickmarks (10e-1, 10e-2, 10e-3 etc.). More easily, I must plot a cell loss probability in a node of telecomunication system. Thanks in advance, Damiano. -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/20011105/bed9d29b/attachment.html
Damiano Visconti <davisco at tiscalinet.it> writes:> I have a problem with R-graphics. > Infact, I would want to plot a graphic with a logaritmic-scale on > the axis Y, > and I would want to see only the tickmarks (10e-1, 10e-2, 10e-3 > etc.). > More easily, I must plot a cell loss probability in a node of > telecomunication system. > ? > Thanks in advance, > Damiano.Use log="y" and axes = FALSE on with plot() and then set the axes directly using axis(). Something like: plot(runif(100, 0, 100000), log = "y", axes = FALSE) axis(1) axis(2, at = 10^c(0:5), labels = expression(10^0, 10^1, 10^2, 10^ 3, 10^4, 10^5)) Hope that helps, 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._