On Sep 8, 2012, at 7:14 AM, Zhang Qintao wrote: > Hi, All, > > I am trying to use R to make the following type of boxplot while I couldn't > find a way to do it. > > My dataset looks like X1 Y1 X2 Y2.... SPLIT. The split highlights my > experiment details and both x and y are continuous numerical values. I > need to plot y vs. x with split as legend and boxplot has to be used for > all splits. May I ask how to get it? Currently available boxplot only > applies on the case that X axis is character.
Boxplots do _not_ have continuous "X" axes. You will need to explain in greater detail what goal you are seeking. Perhaps something like a bagplot? http://gallery.r-enthusiasts.com/RGraphGallery.php?graph=112 -- David Winsemius, MD Alameda, CA, USA ______________________________________________ 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.