Hi,
I am trying to figure out how to lable the second y-axis after the following
codes:
plot(x, y,
xlab=time,
ylab=pay1
)
par(new=TRUE)
plot(x,y2,
ann=FALSE,
xaxt=n,
yaxt=n,
pch=7
)
axis(4)
Then, I want to label the second y axis
Hi,
On Fri, 7 Nov 2003, umeno wrote:
Then, I want to label the second y axis pay2. I tried title(ylab=pay2),
but it put this lable on the first y-axis. Does anyone know how to move this
to the second y-axis?
?mtext will do what you want.
For example, here is a few codes from Venables