[R] put a label on right y axis?

Jorge A Ahumada jahumada at usgs.gov
Wed Jul 30 19:24:58 CEST 2003


If you have a graph with two y-axes like:

plot(...) #1st graph
par(new=T)
plot(.....,axes=F,xlab="",ylab="") #plot second
axis(4) # put axes on the right side

How do you put a ylab to that second axis?

Thanks,

Jorge




More information about the R-help mailing list