[R] hist overlay...

Jerome Asselin jerome at hivnet.ubc.ca
Wed Mar 26 20:52:43 CET 2003


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.
>
> ______________________________________________
> 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