Message-ID: <4EA12472.8040804@statistik.tu-dortmund.de>
Date: 2011-10-21T07:51:14Z
From: Uwe Ligges
Subject: bar plot issues
In-Reply-To: <CAG_r7O7h8UdM36oV-w_kU79iJTuMVeke9NheE8qEKZt_f-wAaQ@mail.gmail.com>
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
>