Thomas,
You need to specify both the labels and the desired location:
plot(1:10, xaxt = "n")
axis(1, xaxp=c(2, 9, 7))
axis(4, labels=c("A", "B", "C", "D", "E"), at=seq(2, 10, by=2))
You want the labels at 2,4,6,8,10 so you need to specify that,
not 1:5.
Sarah
On Thu, Mar 24, 2011 at 9:55 AM, T
I have looked at many examples and tried many different combinations
of doing this, but with no luck. I have something like this:
plot(1:10, xaxt = "n")
axis(1, xaxp=c(2, 9, 7))
axis(4)
but, what I need is to have different labels for axis-4 than those for
axis-2 (the vertical axes) — that is
2 matches
Mail list logo