Re: [R] How to add a new plot in the same graph using add=T at the command plot?

2010-06-21 Thread Petr PIKAL
Hi In your case it would be wiser to do everything in one step. plot(c(1.5,2.5), c(media_cob_veloc1.5, media_cob_veloc2.5), ...) then add your arrows calls With par(new = T) you will get completely new plot which superpose your old one. It is like if you take two pictures on the same frame

Re: [R] How to add a new plot in the same graph using add=T at the command plot?

2010-06-10 Thread Petr PIKAL
Hi Peter Ehlers ehl...@ucalgary.ca napsal dne 09.06.2010 19:05:24: Soapbox: Well, if you're just starting out with R it would be a VERY good idea to learn right away that T is not TRUE and F is not FALSE, at least not always. Sooner or later you WILL have problems. So do yourself a favour

Re: [R] How to add a new plot in the same graph using add=T at the command plot?

2010-06-10 Thread Uwe Ligges
On 10.06.2010 10:19, Petr PIKAL wrote: Hi Peter Ehlersehl...@ucalgary.ca napsal dne 09.06.2010 19:05:24: Soapbox: Well, if you're just starting out with R it would be a VERY good idea to learn right away that T is not TRUE and F is not FALSE, at least not always. Sooner or later you WILL

Re: [R] How to add a new plot in the same graph using add=T at the command plot?

2010-06-10 Thread Petr PIKAL
Hi Uwe Ligges lig...@statistik.tu-dortmund.de napsal dne 10.06.2010 10:37:05: On 10.06.2010 10:19, Petr PIKAL wrote: Hi Peter Ehlersehl...@ucalgary.ca napsal dne 09.06.2010 19:05:24: Soapbox: Well, if you're just starting out with R it would be a VERY good idea to learn

Re: [R] How to add a new plot in the same graph using add=T at the command plot?

2010-06-10 Thread Uwe Ligges
On 10.06.2010 11:15, Petr PIKAL wrote: Hi Uwe Liggeslig...@statistik.tu-dortmund.de napsal dne 10.06.2010 10:37:05: On 10.06.2010 10:19, Petr PIKAL wrote: Hi Peter Ehlersehl...@ucalgary.ca napsal dne 09.06.2010 19:05:24: Soapbox: Well, if you're just starting out with R it would be

[R] How to add a new plot in the same graph using add=T at the command plot?

2010-06-09 Thread Larissa Lucena
Hi, there! I'm having kind this same problem https://stat.ethz.ch/pipermail/r-help/2008-October/178221.html but I want to display another plot of my data, which is a point with two arrows indicating confidence interval, in the same graph that I've just plotted another, but the add=T is not

Re: [R] How to add a new plot in the same graph using add=T at the command plot?

2010-06-09 Thread Larissa Lucena
I forgot to show my code... it is like this jpeg() plot(x,y,main=str, xlab=str,ylab=str, axes=FALSE) axis(1,at=seq(0,4.5,by=0.5),pos=0) axis(2,at=seq(0,100,by=1.0),pos=0) arrows(x, y, x, ic_esq, length=0.1, angle=90, code=3) arrows(x, y, x, ic_dir, length=0.1, angle=90, code=3) plot(x1,y1,

Re: [R] How to add a new plot in the same graph using add=T at the command plot?

2010-06-09 Thread Petr PIKAL
Hi where did you find parameter add=T. You can use par(new=T) before using new plot command or use points, lines Regards Petr r-help-boun...@r-project.org napsal dne 09.06.2010 16:42:25: I forgot to show my code... it is like this jpeg() plot(x,y,main=str, xlab=str,ylab=str,

Re: [R] How to add a new plot in the same graph using add=T at the command plot?

2010-06-09 Thread Larissa Lucena
Thanks so much!!! I'm using R for the first time, and so, I have many stupid doubts! Sorry and thanks again! Regards! 2010/6/9 Petr PIKAL petr.pi...@precheza.cz Hi where did you find parameter add=T. You can use par(new=T) before using new plot command or use points, lines

Re: [R] How to add a new plot in the same graph using add=T at the command plot?

2010-06-09 Thread Peter Ehlers
Soapbox: Well, if you're just starting out with R it would be a VERY good idea to learn right away that T is not TRUE and F is not FALSE, at least not always. Sooner or later you WILL have problems. So do yourself a favour and get into the habit of using TRUE/FALSE instead of T/F. (I know that

Re: [R] How to add a new plot in the same graph using add=T at the command plot?

2010-06-09 Thread Larissa Lucena
I've really apreciated your advice! Thanks! On Wed, Jun 9, 2010 at 14:05, Peter Ehlers ehl...@ucalgary.ca wrote: Soapbox: Well, if you're just starting out with R it would be a VERY good idea to learn right away that T is not TRUE and F is not FALSE, at least not always. Sooner or later you