[R] how to add the sample number in the hist figure

Jie Tang totangjie at gmail.com
Fri Jun 29 09:06:30 CEST 2012


hi,R-users:
Now I plot some data with the name(aveobsdata) in column , How can I add
the
some number(e,g. the sample number) in each of the column?
plot(aveobsdata,type='h',lwd=line_width,col=line_col,main=titleinfo,xlab=xxlab,ylab=yylab,xaxt
= "n")
axis(1, at = 1:nums, label = name)


--


More information about the R-help mailing list