Re: [R] Multiple histograms in one chart

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Mon 14 Mar 2005 - 01:15:45 EST

Werner Wernersen wrote:
> Hi!
>
> I've searched quite a while and this is probably a
> very easy question: How do I
> prevent a new hist() histogram from clearing the chart
> window before drawing?
>
> I would like to have several histograms simply drawn
> on each other in one chart...

See either ?par

   par(new=TRUE)
or try argument add = TRUE in hist, depending on what you want to do exactly.

Uwe Ligges

> Thanks for your help!
> Werner
>
> In use: win2ksp4 & R 2.0.1
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Mar 14 12:46:59 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:47 EST