Did you look at the help page that Uwe directed you to? At least one
of the examples on that page demonstrates adding text to a barplot.
But before you do that you should read through the discussion here:
http://tolstoy.newcastle.edu.au/R/e2/help/07/08/22858.html on why you
might not want to add
Hi,
How to assign height value on bar plot for each bar?
http://r.789695.n4.nabble.com/file/n4631457/Barplot.png
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-assign-height-value-on-bar-plot-tp4631457.html
Sent from the R help mailing list archive at Nabble.com.
On 26.05.2012 18:07, Manish Gupta wrote:
Hi,
How to assign height value on bar plot for each bar?
See ?barplot.
Uwe Ligges
http://r.789695.n4.nabble.com/file/n4631457/Barplot.png
--
View this message in context:
My Question is how to write height length on each bar.
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-assign-height-value-on-bar-plot-tp4631457p4631468.html
Sent from the R help mailing list archive at Nabble.com.
__
On 05/27/2012 04:30 AM, Manish Gupta wrote:
My Question is how to write height length on each bar.
Hi Manish,
If don't have stacked bars, it is fairly simple:
barpos-barplot(height,...)
text(barpos,height,labels=height)
usually with a bit of fooling around with the cex argument. If you want
5 matches
Mail list logo