[R] Fwd: plot - labels in axis doubt, Resolved

javier garcia - CEBAS rn001 at cebas.csic.es
Tue Jun 22 11:34:48 CEST 2004


Hi;
Sorry for my last question, disregrad it. Sometimes this happens. I've just 
realized that with axTicks() I extract the values of the first axis and I can 
these with the ratio to label the second axis.

Thanks
Javier
----------  Mensaje reenviado  ----------

Subject: plot - labels in axis doubt
Date: Tue, 22 Jun 2004 11:08:17 +0200
From: javier garcia - CEBAS <rn001 at cebas.csic.es>
To: R-Help <R-help at stat.math.ethz.ch>

Hi all;
I need to add lines to a plot and an additional axis in the right side with a
specific scale for this second serie of data. I've seen once this but I can't
find it now nor can manage to do it. The tickmarks can ve the same that the
default left axis, but how could I indicate the labels?
Let's say the left scale ranges from 0 to 100, and I need to say that the
second scale is a specific ratio to this one (because I've choose that ratio
between the max value of both series to multiply the second, and so be
adapted to the plotting space of the first plotted serie)

Can someone tell me about any example?

Thanks and best regards,

Javier




More information about the R-help mailing list