[R] Labelling a secondary axis in R

Nakamura rbt501 at york.ac.uk
Mon Apr 21 15:02:56 CEST 2008


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.



More information about the R-help mailing list