Re: [R] Need data labels to jitter with datapoints in boxplot

2015-09-22 Thread smheas
Thank you both for your responses! I ended up going with PIKAL Petr's suggestion. -- View this message in context: http://r.789695.n4.nabble.com/Need-data-labels-to-jitter-with-datapoints-in-boxplot-tp4712380p4712605.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Need data labels to jitter with datapoints in boxplot

2015-09-18 Thread PIKAL Petr
Hi What about to get rid of points jittering and let text labels jitter instead. plot<-qplot(Letter,Number,data=test,geom=c("boxplot"),fill=Letter) plot + geom_text(aes(label=Identifier),size=3, position = position_jitter(w = 0.3)) Cheers Petr > -Original Message- > From: R-help

Re: [R] Need data labels to jitter with datapoints in boxplot

2015-09-18 Thread MacQueen, Don
How about jittering outside the plot? That is, insert df$jNum <- jitter(df$Number) somewhere before the plot commands, then use jNum in your plots instead of Number. -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On

[R] Need data labels to jitter with datapoints in boxplot

2015-09-17 Thread smheas
Hello, I have created a boxplot with the data points overlayed on top using the below code. I am happy with the way the datapoints are jittered, however I cannot figure out how to get the labels to jitter along with the datapoints. The labels remain in the center and are unreadable. I have tried a