En indlejret tekst med ukendt tegns?t er blevet fjernet... Navn: ikke tilg?ngelig Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071018/6fcb0c22/attachment.pl
Try this: boxplot(1:10) abline(h = 4, col = "red") On 10/18/07, Klaus Friis ?stergaard <farremosen at gmail.com> 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. ?stergaard, <farremosen(at)gmail dot com> > > [[alternative HTML version deleted]] > > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > >
En indlejret tekst med ukendt tegns?t er blevet fjernet... Navn: ikke tilg?ngelig Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071019/609d598e/attachment.pl
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 <farremosen at gmail.com> wrote:> > > 2007/10/19, Gabor Grothendieck <ggrothendieck at gmail.com>: > > 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, <farremosen(at)gmail dot com>