Rolf Turner wrote >Your example is a bit confusing ---
Sorry, maybe I can provide a better example above of what I want. > ``add'' and ``col'' do not seem to be arguments for boxplot(). Are you sure? ;-) Maybe you could want to take a look to this: clyde <- rnorm(100) melvin <- sample(letters[1:4],100,TRUE) melvin[melvin=="b"] <- "c" melvin <- factor(melvin,levels=letters[1:4]) boxplot((clyde+2) ~ melvin,add=FALSE,col=c("gray20","white","gray60","gray90")) boxplot((clyde/5) ~ melvin,add=TRUE,col=c("red","blue","yellow","lavender")) I'm intending to do something like this (but less psychodelic, only two colors :-) , and with a single boxplot in b) I am sudying also your idea, Thanks Rolf. Sincerely Pablo Valdes ______________________________________________ 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.