Here's a naive question about axis()
How do you control the location of the labels with the axis() command?
In the following example:
foo <- data.frame(plot.x=seq(1:3), plot.y=seq(4:6))
plot(foo$plot.x, foo$plot.y, type='n', axes=FALSE)
points(foo$plot.x, foo$plot.y)
axis(1, at=foo$plot.x, labels=foo$plot.x)
I'd like to be able the control the y location of the labels (i.e. move up
or down in the graph).
Thanks,
Andrew
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.