Re: [R] I have an array of plots and I would like to put a title on the whole array.

2008-08-04 Thread Prof Brian Ripley
par(mfrow=c(2,4), oma=c(0,0,1,0)) plots ... title("Big Array", outer=TRUE) You need to set up an outer margin. See 'An Introduction to R' for that topic. You probably want to reset the margins (mar=) for such a large array of plots. On Mon, 4 Aug 2008, Arthur Roberts wrote: Hi, all, Doe

[R] I have an array of plots and I would like to put a title on the whole array.

2008-08-04 Thread Arthur Roberts
Hi, all, Does anyone know of a way to get a title on an array of plots? I have tried to use title, mtext, and text to get the title on the array, but to no avail. I would like something like the following. title("Big Array") par(mfrow=c(2,4)) plot(x1,y1) plot(x2,y2) .. .. .. Much apprec