Re: [R] Adding horizontal lines to Boxplot

2007-10-19 Thread Klaus Friis Østergaard
2007/10/19, Frede Aakmann Tøgersen <[EMAIL PROTECTED]>: > > If you carefully read the man for boxplot (?boxplot) you can see in the > examples that you can put in a ylim as an argument to the boxplot function: > > boxplot(3:5, 2:4,4:6, ylim = c(0, 8)) > > See also ?bxp. > > best regards > > Frede

Re: [R] Adding horizontal lines to Boxplot

2007-10-19 Thread Frede Aakmann Tøgersen
[mailto:[EMAIL PROTECTED] Sendt: fr 19-10-2007 11:24 Til: Frede Aakmann Tøgersen Cc: Gabor Grothendieck; r-help@r-project.org Emne: Re: [R] Adding horizontal lines to Boxplot 2007/10/19, Frede Aakmann Tøgersen <[EMAIL PROTECTED]>: So where is the reproducable example?

Re: [R] Adding horizontal lines to Boxplot

2007-10-19 Thread Petr PIKAL
Hi [EMAIL PROTECTED] napsal dne 19.10.2007 11:24:23: > 2007/10/19, Frede Aakmann Tøgersen <[EMAIL PROTECTED]>: > > > > So where is the reproducable example? > > > > How can we know that you're not doing > > > > boxplot(1:10) > > abline(h = 400, col = "red")? > > > > best regards > > > > Frede >

Re: [R] Adding horizontal lines to Boxplot

2007-10-19 Thread Klaus Friis Østergaard
2007/10/19, Frede Aakmann Tøgersen <[EMAIL PROTECTED]>: > > So where is the reproducable example? > > How can we know that you're not doing > > boxplot(1:10) > abline(h = 400, col = "red")? > > best regards > > Frede You are right, a reproducable example should have been there. I don't know wh

Re: [R] Adding horizontal lines to Boxplot

2007-10-19 Thread Frede Aakmann Tøgersen
or Grothendieck Cc: r-help@r-project.org Emne: Re: [R] Adding horizontal lines to Boxplot 2007/10/19, Gabor Grothendieck <[EMAIL PROTECTED]>: > > Try this: > > boxplot(1:10) > abline(h = 4, col = "red") Have tried it, I only get the boxplot, no red line. It works

Re: [R] Adding horizontal lines to Boxplot

2007-10-19 Thread Gabor Grothendieck
It works for me. Perhaps you could make the line thicker. abline(h = 4, col = "red", lwd = 3) On 10/19/07, Klaus Friis Østergaard <[EMAIL PROTECTED]> wrote: > > > 2007/10/19, Gabor Grothendieck <[EMAIL PROTECTED]>: > > Try this: > > > > boxplot(1:10) > > abline(h = 4, col = "red") > > Have trie

Re: [R] Adding horizontal lines to Boxplot

2007-10-19 Thread Klaus Friis Østergaard
2007/10/19, Gabor Grothendieck <[EMAIL PROTECTED]>: > > Try this: > > boxplot(1:10) > abline(h = 4, col = "red") Have tried it, I only get the boxplot, no red line. It works on the plotte images. That is why I asked the question here on the list. -- Klaus F. Østergaard, [[alternat

Re: [R] Adding horizontal lines to Boxplot

2007-10-19 Thread Gabor Grothendieck
Try this: boxplot(1:10) abline(h = 4, col = "red") On 10/18/07, Klaus Friis Østergaard <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to add horizontal lines to a boxplot. > > I want to add these lines in ordre to indicate where tolerance limits on the > boxplot. > > -- > Klaus F. Østergaa