To get more than one graph on a single page use the mfrow or mfcol 
arguments to par.

For example, 
> par(mfrow= c(2, 2))

will give you 4 graphs per page.

See the ?layout for further fine tuning.






Tobias Verbeke <tobias_verbeke@skynet.be>
Sent by: r-help-bounces@stat.math.ethz.ch
04/30/2003 02:31 PM

 
        To:     r-help@stat.math.ethz.ch
        cc: 
        Subject:        Re: [R] How to put 2 or more graphics in the same page ?


> I can't find the way  to put
> 2 or more(precisely 4, in my case) graphics on the same page (each
> graphics is about 6 inches (width) X 4 inches (height)).

I'm not sure this is about using R,
but you can use `psutils' and in
particular the `psnup'-command.

To make a new PS-file `quater.ps', putting
four pages from the file `semel.ps' on each
page, type

psnup -4 semel.ps quater.ps

It is possible to rescale page sizes,
change orientation etc.
A nice tutorial is Chapter 21 from
The Linux Cookbook. You can find it
in the `Guides'-section on www.tldp.org

Regards,

Tobias

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



	[[alternate HTML version deleted]]

