Laura Holt wrote:> Hi R !
>
> I have the following set up:
>
>> par(mfrow=c(2,2))
>> curve(dexp,from=0,to=5)
>> hist(z1,main="Size 5")
>> hist(z2,main="Size 15")
>> hist(z3,main="Size 30")
>>
>
> I would like to put a title at the very top of the page that ties the
> theme of all the charts
> together. How would this be done, please?
>
How about this:
z1 <- rexp(100)
z2 <- rexp(100)
z3 <- rexp(100)
par(mfrow=c(2,2),oma = c(0, 0, 3, 0))
curve(dexp,from=0,to=5)
hist(z1,main="Size 5")
hist(z2,main="Size 15")
hist(z3,main="Size 30")
mtext("Densities", outer = TRUE, cex = 2)
--sundar