Skip to content
Back to formatted view

Raw Message

Message-ID: <1B5F1031-9F89-487C-BC79-42867B8D7ABD@eawag.ch>
Date: 2009-02-27T12:32:45Z
From: soeren.vogel at eawag.ch
Subject: add absolute value to bars in barplot

Hello,

r-help at r-project.orgbarplot(twcons.area,
   beside=T, col=c("green4", "blue", "red3", "gray"),
   xlab="estate",
   ylab="number of persons", ylim=c(0, 110),
   legend.text=c("treated", "mix", "untreated", "NA"))

produces a barplot very fine. In addition, I'd like to get the bars'  
absolute values on the top of the bars. How can I produce this in an  
easy way?

Thanks

S?ren