Message-ID: <1344653727348-4640015.post@n4.nabble.com>
Date: 2012-08-11T02:55:27Z
From: Manish Gupta
Subject: How to add values on bar of grouped bar plot using mtext?
How to write values on bars using mtext?
Grouped Bar Plot
counts <- table(mtcars$vs, mtcars$gear) barplot(counts, main="Car
Distribution by Gears and VS",xlab="Number of Gears",
col=c("darkblue","red"),legend = rownames(counts), beside=TRUE, horiz=TRUE)
mtext(counts ) # But poistion is not at each bar.
How can i put corresponsing values on each bars of plot?
Regards
--
View this message in context: http://r.789695.n4.nabble.com/How-to-add-values-on-bar-of-grouped-bar-plot-using-mtext-tp4640015.html
Sent from the R help mailing list archive at Nabble.com.