[R] par(fig) problem

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Feb 14 14:34:34 CET 2000


John Fox <jfox at mcmaster.ca> writes:

> At 09:53 AM 2/14/2000 +0100, ros mathieu wrote:
> >I'd like to plot four graphics on the same page but with different
> >sizes. I've tried to use :
...
> 
> See the documentation (in par) for mfcol and mfrow, which allow you to plot an array of figures, respectively by columns and rows. For example
> 	par(mfrow=c(3,2))
> will direct subsequent plots to a 3 x 2 array, filled by rows.
> 
> I hope that this helps,

Um, John, I think you missed the "with different sizes" bit there...

Ros: If you really want to overplot, you can use par(new=T) between plots,
but try layout() instead.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list