Displaying 1 result from an estimated 1 matches for "dcpn".
Did you mean:
dcn
2009 Oct 12
0
combining/overlaying boxplot and barplot
...or dry in bar/boxplots.
Therefore I've tried to combine raingauge data (boxplots) and percentage
of raingauges with 0mm measurements (barplot). See attachment
mei2004.pdf (if it came through).
I've come this far:
barplot(dcp0[monthindex], col="gray", border=NA, axes=F)
boxplot(t(dcpn[monthindex,]), names=dates$day[monthindex], main=month,
outline=F, add=T, ylim=c(0,30), col="lightblue")
Both plots use different x-axis spacing, so May 31 of the barplot
extents further to the right than May 31 boxplot.
So, how do I get the x-axis of both plots aligned?? I've looke...