[R] how to plot two graphics in one window

Miguel Caro mcaro72 at gmail.com
Fri Jun 15 21:40:55 CEST 2007


Hi,
I answer myself

plot(x,y,type="l")
par(new=TRUE)
plot(x,yy,type="l")

Thanks all!



Miguel Caro wrote:
> 
> Hello ,
> Maybe this question you answered before, but i couldnt find something
> indicated in the mailing list.
> 
> I wish to plot two graphics  in one window, for example y=sinx and
> y=exp(x) in the same windows, (the same interval for x).
> 
> Thanks .
> 
> Miguel.
> 

-- 
View this message in context: http://www.nabble.com/how-to-plot-two-graphics-in-one-window-tf3929594.html#a11146479
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list