[R] How do I move axis labels closer to plot box?

chen jia chen_1002 at fisher.osu.edu
Mon Jul 12 17:40:12 CEST 2010


Hi there,

I place a vector of strings as labels at the tick points by using

axis(1,at=seq(0.1,0.7,by=0.1),
labels=paste(seq(10,70,by=10),"%",sep=""), tick=FALSE)

However, there is a large space between those labels and the boundary
of plot box. I want to reduce this space so that the labels appear
just next to the boundary of the plot box. How do I do that?

Thanks.

Best,
Jia

-- 
                         Ohio State University - Finance
                                   248 Fisher Hall
                                    2100 Neil Ave.
                              Columbus, Ohio  43210
                             Telephone: 614-292-2830
                       http://www.fisher.osu.edu/~chen_1002/



More information about the R-help mailing list