[R] plot

Spencer Graves spencer.graves at pdf.com
Fri Mar 14 22:24:29 CET 2003


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

noliveir2003 at zipmail.com.br 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
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help



More information about the R-help mailing list