[R] Secondary Y axis title

Dave Hewitt dhewitt at vims.edu
Sat Oct 20 22:16:01 CEST 2007


I was curious about the exact same question that John Theal posed - how to 
get a second y-axis label for a plot of two data series against a common x 
(in my case, time).

I tried two different methods - one in lattice and one in plot. Both times 
the y-axis on the right side appears but the label does not. Similar to 
John's comment, it appears that there is not enough room for the label.

Gabor mentioned that the plot.zoo examples give a plot like this. When I 
run that series of examples, #7 appears to be what Gabor was referring to, 
but even there the label for the right-hand y-axis is missing.

Help?

Dave Hewitt



More information about the R-help mailing list