Displaying 1 result from an estimated 1 matches for "ncar_precip".
2011 Jan 12
1
Grouped bars in barplot
...e a barplot with clustered pairs of bars, using class=numeric data and the following command:
barplot(c(bline_precip[10,9], bline_runoff[10,9], cccma_precip[10,9], cccma_runoff[10,9], csiro_precip[10,9], csiro_runoff[10,9], ipsl_precip[10,9], ipsl_runoff[10,9], mpi_precip[10,9], mpi_runoff[10,9], ncar_precip[10,9], ncar_runoff[10,9], ukmo_precip[10,9], ukmo_runoff[10,9]), beside=TRUE, space=c(0,2))
This results in all bars being packed tightly together, but with no gap between each pair. I suspect the problem is something to do with the data not being a matrix, but I've tried using as.matrix for...