Does the following produce what you want?

plot(0:1, 0:1, type="l")
axis(4, 0:1, c(0, 2))
lines(0:1, 0.5*c(2,1))

Spencer Graves

[EMAIL PROTECTED] wrote:
Can anyone tell me how to plot on the same graph two different functions
(of x) using two differnt y scales (axes 2 and 4)?
Thanks
Nelson



------------------------------------------
Use o melhor sistema de busca da Internet
Radar UOL - http://www.radaruol.com.br

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to