[R] barplot() options for intervals on axes
ccleland at optonline.net
Mon Dec 6 15:37:51 CET 2004
Did you see the lab argument to par()?
'lab' A numerical vector of the form 'c(x, y, len)' which modifies
the way that axes are annotated. The values of 'x' and 'y'
give the (approximate) number of tickmarks on the x and y
axes and 'len' specifies the label size. The default is
'c(5, 5, 7)'. _Currently_, 'len' _is unimplemented_.
You might want something like this:
Sebastien Moretti wrote:
> I am a beginner with R. I read many tutorials and the FAQ but I cannot solve
> my problem.
> I use barplot() to view my graph. I try to get more interval marks on y axis.
> I wasn't able to find options in 'help(barplot)' or 'help(par)' to do this
> with barplot().
> I seek for another option to print y values on my bars like on the graph of
> the R homepage: http://www.r-project.org/
> Thanks for your help.
Chuck Cleland, Ph.D.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 452-1424 (M, W, F)
fax: (917) 438-0894
More information about the R-help