[R] how to add value on the bar ploted by barplot()
David Winsemius
dwinsemius at comcast.net
Tue Jun 2 05:46:50 CEST 2009
On Jun 1, 2009, at 11:21 PM, Xiaogang Yang wrote:
> how to add value on the bar ploted by barplot()?
Depending on what you really mean, possibly:
?barplot
?text # there _is_ a worked example on the barplot help page.
# true, it does put the labels above the bars, but the
modification would be trivial.
# or
?addtable2plot {in package plotrix}
>
> and the axis label is too big, anyone know how to change their
> font , thanks
?barplot # again ... barplots help page seems quite clear
cex.names = 0.5 # or a number less than one of your choice
--
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
More information about the R-help
mailing list