DM小菜鸟 发表于 2015-3-30 16:10 
用test()
比如R自带的例子里面
text(wt, mpg,row.names(mtcars), cex = 0.6, pos = 4, col = "red")
barplot(counts,xlab="preference",ylab="frequency")
> lbls<-paste(" ",a)
> text(counts,labels=lbls,cex=1.5,pos=1)
然后我做出的图标的数值感觉和条形图总对不到一块儿去。。。大神,这怎么弄,使得数值在条形图中间。。!