R-alpha: Plot: Title above 'mfrow=c(2,2)' ??

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Wed, 21 May 97 19:04:35 +0200


In S, I can have an "overall" title in a multi-figure plot :

    par(mfrow=c(2,2), oma = c(0,0,2,0))
    frame() #- !
    mtext("Sine Functions", cex=2, outer =T)
    x_1:100
    for(i in 1:4) plot(x, sin(i*pi*x/100), main=paste(i), type = 'l', col = 1+i)

In R, this doesn't work as it should,  with and without the 'frame()' 
statement.
((where is the bug?  It's not quite clear to me))

Is there a way at all to write an "overall" title in this situation ?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel 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-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-