[R] multiple plots per page
Earl F. Glynn
efg at stowers-institute.org
Fri Dec 16 16:25:01 CET 2005
"Bill Hunsicker" <BHunsicker at rfmd.com> wrote in message
news:3EA9CDD20D8E694F92C01B7BA7FC5AC803BCAF34 at mail.internal.rfmd.com...
> R-help,
>
> I would like to place nine (3X3) plots per page. I am not properly
> implement mfrow(3,3) in the script below:
Does this help?
jpeg("3x3.jpg")
oldpar <- par( mfcol=c(3,3) )
plot(1)
plot(2)
plot(3)
plot(4)
plot(5)
plot(6)
plot(7)
plot(8)
plot(9)
par(oldpar)
dev.off()
efg
More information about the R-help
mailing list