[R] Multiple graph pages
Ko-Kang Wang
Ko-Kang at xtra.co.nz
Mon Feb 11 19:48:57 CET 2002
You will need the par(mfrow=c(m, n)) statement., which will give you an m *
n matrix to hold the plots.
For example, you can create two graphs side by side by using:
par(mfrow = c(1, 2))
plot(1:100)
plot(1:100)
Cheers,
Ko-Kang Wang
----------------------------------------------------------------------------
-
Ko-Kang Kevin Wang
Postgraduate PGDipSci Student
Department of Statistics
University of Auckland
Auckland
New Zealand
----- Original Message -----
From: <zeng_li at willis.com>
To: <r-help at stat.math.ethz.ch>
Sent: Tuesday, February 12, 2002 6:20 AM
Subject: [R] Multiple graph pages
> Dear R users:
>
> I am a relatively experienced Splus user but new to R, using the version
> for Windows 2000.
>
> Splus allows the user to generate multiple graph pages in the graph
window.
> For example, if you have two plot(...) commands in the script than two
> pages in the graph window will be created. However, when I tried this in
R,
> the second plot will just overwrite the first plot in the graph window.
> Could you tell me how to let R create multiple pages in the graph window?
> Please note that I am not talking about creating multiple plots in the
same
> page of the graph window...
>
> Thanks very much in advance for any help that you might be able to offer!
>
> Best regards,
> Lixin Zeng
>
> The information in this email and in any attachments is confidential and
> may be privileged. If you are not the intended recipient, please destroy
> this message, delete any copies held on your systems and notify the sender
> immediately. You should not retain, copy or use this email for any
> purpose, nor disclose all or any part of its content to any other person.
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-.-
> 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
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
mailing list