> -----Original Message----- > From: PtitBleu [mailto:ptit_b...@yahoo.fr] > Sent: Wednesday, 13 June 2012 5:46 PM > To: r-help@r-project.org > Subject: Re: [R] add horizontal reference lines in lattice bwplot > > Hello Gareth, > > Concerning the lines, you can try : > panel.abline(h=13) > and > panel.grid(h=2, v=0, y=c(11, 12), col.line="blue") > > I have no idea for the annotation. Sorry. > > Ptit Bleu.
Thanks! I did not understand that I needed to use the log10 of the value for the grid position to match the log scale. The panel.abline now works. I could not get the panel.grid to work but just using abline is fine. I also figured out how to use panel.text with my new knowledge of the grid coordinate system. Gareth > > > -- > View this message in context: http://r.789695.n4.nabble.com/add- > horizontal-reference-lines-in-lattice-bwplot-tp4633214p4633219.html > Sent from the R help mailing list archive at Nabble.com. > ______________________________________________ R-help@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.