R-help, I am tring to create a plot with two y-axis. I found an example which is fine but the problem is that the range of the second y-axes appears in the first y-axes causing confusion. The example I refer to is :
################################## dev.off() ## start with a new graphics device # X11() or postscript() plot(x<-rnorm(100),y<-rnorm(100)) z<-rnorm(100)*250 par(new=T) ## Tell R not to reinitialize graphic device ## for subsequent plots plot(x,z,col='blue',axes=F) axis(side=4,col.axis='blue') par(new=F) ################################## which can be found at : http://www.demog.berkeley.edu/faq/node21.html I also have a home made-example with exactly the same problem (pretty much the same as above) Any solution? Thanks in advance. > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 0.1 year 2004 month 11 day 15 language R ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html