Hi David, Thanks a lot for your advice and helping me tricking barplot. It totally work. Have a great evening! François
On 26 Mar 2013, at 21:43, David L Carlson wrote: > You will have to trick barplot into thinking you have four groups: > >> wmod <- cbind(c(w[,1], 0, 0), c(0, 0, w[,2])) >> barplot(wmod, main="2012", col=c("red", "green", "blue", "pink")) > > ---------------------------------------------- > David L Carlson > Associate Professor of Anthropology > Texas A&M University > College Station, TX 77843-4352 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.