Do you mean two separate plots in the same window? If so, read the documentation on "multiple figure environment" in the chapter on "Graphical Procedures" in the manual "An Introduction to R".
Alternately, reading plot help file will lead you to the par help file, which will enable you to do "multiple figure environment" and lots more... Jerome Asselin On March 26, 2003 11:35 am, Vasudevan, Geetha wrote: > thanks to all for the 2d scatter plot. > > i have one more. > > how do i plot 'hist(y1, col="red") and hist(y2,col="blue") in the same > window? > > thanks again. > > ______________________________________________ > [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