[R] how to add the sample number in the hist figure
arun
smartpink111 at yahoo.com
Fri Jun 29 18:00:23 CEST 2012
Hi,
Try ?text()
A.K.
----- Original Message -----
From: Jie Tang <totangjie at gmail.com>
To: r-help at r-project.org
Cc:
Sent: Friday, June 29, 2012 3:06 AM
Subject: [R] how to add the sample number in the hist figure
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)
--
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list