[R] Double labels and scales

Charilaos Skiadas skiadas at hanover.edu
Fri Feb 2 15:18:43 CET 2007


On Feb 2, 2007, at 8:07 AM, Lorenzo Isella wrote:

> Dear All,
> Say you want to plot, on the same figure two quantities, concentration
> and temperature, both as function of the same variable.
> I'd like to be able to put a certain label and scale on the y axis on
> the left of the figure (referring to the temperature) and another
> label and scale for the concentration on the right.
> Any suggestion about what to do?
> I am sure it is trivial, but I could not find what I needed on the
> net. I found some reference about a plot.double function by Anne York,
> but I do not think that I need anything so elaborate.
> Many thanks
>
Sounds like you just need the following two commands probably:

?axis
?mtext

> Lorenzo

Haris



More information about the R-help mailing list