[R] how to move x-axis labels down
Wittner, Ben
Wittner.Ben at mgh.harvard.edu
Mon Jan 31 22:32:46 CET 2005
Hi,
In the code below, the labels I put on the x-axis are too high (they cross the
axis). Can anyone tell me how to move them down? I've tried adj=, padj=, mar=,
and various other things, but cannot move them down.
Thanks.
-Ben
labs <- paste('sample', 1:10)
plot(1:10, xaxt='n', xlab='')
axis(1, at=1:10, labels=labs, padj=1, las=2) # las is a par() parameter
More information about the R-help
mailing list