Re: [R] R graphics

From: Earl F. Glynn <efg_at_stowers-institute.org>
Date: Fri 22 Jul 2005 - 03:11:29 EST

"Sam Baxter" <s.j.baxter@reading.ac.uk> wrote in message news:42DFA00E.2090506@rdg.ac.uk...
> I am trying to set up 16 graphs on one graphics page in R. I have used
> the mfrow=c(4,4) command. However I get a lot of white space between
> each graph. Does anyone know how I can reduce this?

The default par()$mar is c(5,4,4,2) + 0.1 and can be reduced.

For example:
par(mfrow=c(4,4), mar=c(3,3,0,0))

for (i in 1:16)
{
  plot(0:10)
}

efg

--
Earl F. Glynn
Bioinformatics Department
Stowers Institute for Medical Research

______________________________________________
R-help@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
Received on Fri Jul 22 03:18:31 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:55 EST