geom_boxplot

bugman

Super Moderator
#1
Folks, I am seriously getting annoyed today.

I am plotting calcium using geom_boxplot. The x-axis is as series of sites and looking at RC1, there is something seriously messed up with site RC1.



I have tried setting varwidth to FALSE in geom_boxplot, but that doesn't work. All I want are boxplots with even widths.

Any ideas?

Code:
f1 <- ggplot(cvo, aes(x = cvo$Site_rec, y = Calcium..mg.L.)) + geom_boxplot(aes(fill=factor(waterway)),varwidth = FALSE) + xlab("")

f1a <-last_plot() + scale_fill_manual(values=c("#486b7a","#738d9d","#c4ccc6","#a5b6b5","#617c7c"), guide = FALSE) +
        ylab("calcium (mg/L)")