[R] Multiple xyplots on the same page

Liaw, Andy andy_liaw at merck.com
Wed Feb 1 17:01:28 CET 2006


Sorry, that's beyond me.  I've never tried that myself.

Andy

From: Ravi Varadhan 
> 
> Thank you very much, Andy.  It was quite helpful, and I was 
> able to plot 4
> xyplots on one page, but I still couldn't get the legends to 
> fit properly
> within each plot, as they were not scaled down automatically. 
> Any hints on
> how I can shrink the size of legend in each plot to fit?
> 
> Thanks,
> Ravi.
> 
> 
> > -----Original Message-----
> > From: Liaw, Andy [mailto:andy_liaw at merck.com]
> > Sent: Tuesday, January 31, 2006 1:04 PM
> > To: 'Ravi Varadhan'; r-help at stat.math.ethz.ch
> > Subject: RE: [R] Multiple xyplots on the same page
> > 
> > See ?print.trellis.
> > 
> > Andy
> > 
> > From: Ravi Varadhan
> > >
> > > Hi,
> > >
> > >
> > >
> > > I am using the "xyplot" function in the "lattice" package 
> to generate
> > > multiple plots, but I would like to have them plotted on the
> > > same page.  I
> > > would like to set something equivalent to the command:
> > > par(mfrow=c(2,2)),
> > > in order that I can plot 4 xyplots on the same page.  How can
> > > I do this in
> > > "xyplot"?
> > >
> > > I am using R version 2.1.1 on Windows.
> > >
> > >
> > >
> > > Thanks very much,
> > >
> > > Ravi.
> > >
> > >
> > > 	[[alternative HTML version deleted]]
> > >
> > > ______________________________________________
> > > R-help at 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
> > >
> > >
> > 
> > 
> > 
> --------------------------------------------------------------
> ------------
> > ----
> > Notice:  This e-mail message, together with any 
> attachments, contains
> > information of Merck & Co., Inc. (One Merck Drive, 
> Whitehouse Station, New
> > Jersey, USA 08889), and/or its affiliates (which may be 
> known outside the
> > United States as Merck Frosst, Merck Sharp & Dohme or MSD 
> and in Japan, as
> > Banyu) that may be confidential, proprietary copyrighted 
> and/or legally
> > privileged. It is intended solely for the use of the 
> individual or entity
> > named on this message.  If you are not the intended 
> recipient, and have
> > received this message in error, please notify us 
> immediately by reply e-
> > mail and then delete it from your system.
> > 
> --------------------------------------------------------------
> ------------
> > ----
> 
>




More information about the R-help mailing list