bar plot issues
On 20.10.2011 22:29, Henri-Paul Indiogine wrote:
Hi Uwe! 2011/10/20 Uwe Ligges<ligges at statistik.tu-dortmund.de>:
arrange it outside by, e.g. increasing the size of margins (see argument "mar" in ?par) and place a separate legend (see ?legend) into the margins (see xps argument in ?par).
I could not find 'xps', do you mean 'xpd'?
Yes, sorry, a typo. Best, Uwe
This is what I have so far:
par(mar=c(5.1,4.1,4.1,12.1)) barplot(t(file.codes), beside = FALSE, legend = FALSE, main="test stacked bar plot", xlab="documents", ylab="number of codes", col=rainbow(ncol(file.codes)), names.arg = rep(NA, nrow(file.codes)))
danke, Henri-Paul