[R] Labelling a secondary axis in R

Nakamura
Mon, 21 Apr 2008 13:02:56 -0000

Hello,

How can I label a secondary axis in R? At the moment it's labelled as
c(-100,200). Obviously I would like it to be more sensible.

Here is the code I am using

newx = -100+37.5*((1:9)-1)
axis(4,at=newx,labels=(newx+100)/3750)

Thanks,
Rob
--
View this message in context:
http://www.nabble.com/Labelling-a-secondary-axis-in-R-tp16807708p16807708.html
Sent from the R help mailing list archive at Nabble.com.