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

2012-06-29 Thread arun
Hi, Try ?text() A.K. - Original Message - From: Jie Tang To: r-help@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

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

2012-06-29 Thread Jim Lemon
On 06/29/2012 05:06 PM, Jie Tang wrote: 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,

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

2012-06-29 Thread Petr PIKAL
Hi > > 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") We do not have aveobsdata

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

2012-06-29 Thread Jie Tang
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) -- _