[R] Plotting multiple figures
wsi at gcal.ac.uk
Fri Apr 27 12:43:41 CEST 2001
On Fri, 27 Apr 2001, Sven Garbade wrote:
> I've plotted multiple figures on one page, setup the page with n2mfrow.
> This works fine, but I can't figure out how to change to a specific plot
> (e.g. first row, second column) to add some details.
I think the preferred way to make multiplot layouts is with layout().
For example, to do 2 columns of 3 plots (6 in all), do
layout(mat=matrix(1:6, 3, 2, byrow=FALSE))
Column 1 has plots 1-3, column 2 has plots 4-6
r-help 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-help-request at stat.math.ethz.ch
More information about the R-help