[R] How to put 2 or more graphics in the same page ?

Gavin Simpson gavin.simpson at ucl.ac.uk
Wed Apr 30 20:54:19 CEST 2003


see ?par and in particular the parameters mfrow and mfcol
see ?layout for more complex ways of splitting up a graphics device

Gavin

%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Gavin Simpson                     [T] +44 (0)20 7679 5522
ENSIS Research Fellow             [F] +44 (0)20 7679 7565
ENSIS Ltd. & ECRC                 [E] gavin.simpson at ucl.ac.uk
UCL Department of Geography       [W] http://www.ucl.ac.uk/~ucfagls/cv/
26 Bedford Way                    [W] http://www.ucl.ac.uk/~ucfagls/
London.  WC1H 0AP.
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Tobias Verbeke
Sent: 30 April 2003 19:32
To: r-help at stat.math.ethz.ch
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 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