On Thu, Oct 1, 2009 at 11:30 PM, Dan Kortschak <dan.kortsc...@adelaide.edu.au> wrote: > Thanks for that again. That almost works, except that lines are drawn > between non-empty bins (in various degrees of diagonality), so absent > points (important here) don't show clearly. It's not a huge issue, so I > might leave it, unless there is a simple way around this.
Including absent points as NA-s will work to break the lines; not sure if that would be hard to do in your example. -Deepayan > > cheers > Dan > > On Tue, 2009-09-29 at 23:17 -0700, Deepayan Sarkar wrote: >> On Tue, Sep 29, 2009 at 11:09 PM, Dan Kortschak >> <dan.kortsc...@adelaide.edu.au> wrote: >> > Hi Deepayan, >> > >> > Thanks for that, I had a think (a few hour too late) and came to the >> > same conclusion. I had wanted to have vertical bars for each of the >> data >> > points, I have gone to a straight xyplot and this shows other >> intersting >> > information - maybe I want to be able to do both point and bar plots >> > (the bars show gaps in the bins nicely where the points don't). >> >> Perhaps type = c("l", "h") in xyplot. >> >> -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.