[R] Plotting multiple figures
tov at ece.cmu.edu
Fri Apr 27 15:33:27 CEST 2001
Bill Simpson <wsi at gcal.ac.uk> writes:
> On Fri, 27 Apr 2001, Sven Garbade wrote:
> > Morning,
> > 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
I believe Sven was asking about something else: he wants to add stuff
to a _specific_ plot. That's what 'screen' and friends are for.
(Sven: just use '?screen' in an R session and all the relevant
commands along with examples will come up.) Sadly though, 'screen' has
sometimes failed me.
mailto:tov at ece.cmu.edu (Tom Vogels) Tel: (412) 268-6638 FAX: -3204
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