Message-ID: <3FD78BFA-4B9F-4BF8-93DE-93F0586C172E@aislusaka.org>
Date: 2013-03-26T20:33:37Z
From: Francois De Ryckel
Subject: barplot colors
In-Reply-To: <00a901ce2a5a$26978310$73c68930$@edu>
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