[R] common title for graphs in a (1x2) layout

From: Rodrigo Tsai <rodrigo.tsai_at_gmail.com>
Date: Thu 16 Feb 2006 - 03:22:48 EST


Dear all,

Many thanks for the help suggesting the use of "layout" cmd.

How to insert a title in a 1x2 layout? The title is related to both graphs. I looked for it in help, unsuccessfully.

Thanks in advance,
Rodrigo.

my reproductible code:


def.par <- par(no.readonly = TRUE)

nf <- layout(matrix(c(1,2), 1,2,byrow=T), c(1,1), c(1,1), T)

layout.show(nf)

plot(rnorm(10,0,1))

plot(rnorm(10,0,0.1))

par(def.par)


        [[alternative HTML version deleted]]



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 Thu Feb 16 03:29:02 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:31 EST