I am using R to create a barplot and it is working properly but I want there to be more space between the individual bars so that the numbers are not over lapping. The picture is of the graph I got, but is there a way to make it so that there is more space between the Green and Blue parts each bar? Again I am trying to make the space between the two boxes to be greater. Not the space between the Expected box and the actual plot. I want he space between the blue and Green portions of the box to be greater.
Here is what I wrote to produce the chart:
par(xpd=T,mar=c(3,4,2,9i))
midpoints<-barplot(width=1,space=.25,t(dialogueMatrix),col=c('blue','green'),border='white',horiz=T,names.arg=c('Actual','Expected'),xaxt='n',cex.names=1,bty='L',lwd=1,cex.main=1.5,main='Dialogue quantity: overall',bty='n')
text(x=numberLocations,y=midpoints,labels=numberLabels,col='black',cex=1)
legend(col=c('blue','green'),legend=c('Original posts','Replies'),x=650,y=2,bty='n',cex=1.3,pch=15)