Hi Karin, Here is a way to do that:
size=10000 x<-rnorm(size) y<- runif(size)*x+runif(size) x.breaks <- seq(min(x),max(x),length=50) x.grps <- findInterval(x,x.breaks,all.inside=TRUE) boxplot(y~x.grps) You can adapt any numbers and boxplot options to what suits your data Another way is to use the bivariate bagplot (google "R bagplot") if there is evidence of a bivariate undelrying distribution HTH, Eric 2007/10/1, Karin Lagesen <[EMAIL PROTECTED]>: > > > > I have two vectors x and y, which I would like to plot against each > other. I am also displaying other data in this plot. However, I have > about 1 million points to plot, and just plotting them x againt y is > not very informative. What I'd like to do is to do sort of a > continuous box plot. > > My x values goes from -1 to 1 and my y values from 0 to 1, so I´d like > to plot the median and quantiles, and possibly also all of the > outliers somehow. Are there any facilities in R for doing something > like this, or would I need to do this the hard coded way? > > Thankyou very much for your help! > > Karin > -- > Karin Lagesen, PhD student > [EMAIL PROTECTED] > http://folk.uio.no/karinlag > > ______________________________________________ > [email protected] 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. > -- Eric Lecoutre Consultant - Business & Decision Business Intelligence & Customer Intelligence [[alternative HTML version deleted]]
______________________________________________ [email protected] 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.

