On 9/14/07, Raymond Balise <[EMAIL PROTECTED]> wrote: > I am tring to do an xyplot where I want to plot 5 dots in each pane of > the trellice and the dots need to have lines (whiskers) extending up > and down at each point(plus a 45 degree reference line). The data > frame is set up with the variables x y lcl and ucl (where the lcl and > ucl are the limits on the lines I want). The code below gives me the > points but I cant figure out the lines limited by the lcl and ucl > variable.
demo("intervals", package = "lattice") should get you most of the way. The source should be easier to read from https://svn.r-project.org/R-packages/trunk/lattice/demo/intervals.R You can ignore most of it; you just need prepanel.ci, panel.ci, and the xyplot() call at the end. -Deepayan ______________________________________________ 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.