[R] bar plot issues

Henri-Paul Indiogine hindiogine at gmail.com
Thu Oct 20 22:29:25 CEST 2011


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'?

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

-- 
Curriculum & Instruction
Texas A&M University
TutorFind Learning Centre

Email: hindiogine at gmail.com
Skype: hindiogine
Website: http://people.cehd.tamu.edu/~sindiogine



More information about the R-help mailing list