Re: [R] plot multiple data sets on same axis

2007-12-30 Thread Scott Lamb
Scott Lamb wrote: > Scott Lamb wrote: >> I've tried replacing the for loop body with this: >> >> this_method <- split.df[[i]] >> boxplot(elapsed~inactive, data=this_method, >> add=TRUE, border=i, boxfill=i, outline=FALSE) >> >

Re: [R] plot multiple data sets on same axis

2007-12-30 Thread Scott Lamb
Scott Lamb wrote: > I've tried replacing the for loop body with this: > > this_method <- split.df[[i]] > boxplot(elapsed~inactive, data=this_method, > add=TRUE, border=i, boxfill=i, outline=FALSE) > > but it has two problems: > > * it doesn

Re: [R] plot multiple data sets on same axis

2007-12-30 Thread Scott Lamb
he "at" parameter, and I don't know how to get unique values from this_method$inactive. (I tried the clunky labels(split(this_method, this_method$inactive)), but it returns them as strings.) * it redraws the graph's frame, and it ignores bty="l" when doing so.

[R] plot multiple data sets on same axis

2007-12-30 Thread Scott Lamb
I'm new to R and struggling to reproduce graphs I've made with gnuplot. Example here: http://www.slamb.org/tmp/one-active.png I have three different data sets plotted on the same axis. (I also have a number of samples for each X value which I displayed with quartiles rather than plotting ever