On 01/02/2008, Ng Stanley <stanleyngkl@gmail.com> wrote:
>
> Hi,
>
> I used the following statements to generate unsuccessfully a 5 by 5
> multiple
> densityplots on a single page. If I use plot, the whole thing works.
>
> > data <- matrix(rnorm(25), 5, 5)
> > op <- par(mfrow = c(5, 5))
> > for (x in 1:5) {par(new=TRUE);densityplot(data[,x], xlim=c(.......))}


See changes in line above. par(new=TRUE) to overplot and xlim() to have
same  x limits.  The y-limits can be set the same way if necessary.
untested!
Rainer

> par(op)
>
> Thanks
> Stanley
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 

-- 
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT)

Plant Conservation Unit Department of Botany
University of Cape Town
Rondebosch 7701
South Africa

	[[alternative HTML version deleted]]

