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 hence we can not try your code. You probably shall try ?text function Something like text(xccord, ycoord, some number, ...) Regards Petr > axis(1, at = 1:nums, label = name) > > > -- > ______________________________________________ > R-help@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. ______________________________________________ R-help@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.