[R] Drawing several pictures on a plot

Marcin Kozak nyggus at gmail.com
Fri Feb 22 20:19:49 CET 2008


Hi,

I want to draw several pictures on one plot and do as follows:

xy<-matrix(rnorm(100,100,10),50)
op <- par(mfrow = c(2, 2), pty = "s")
plot(xy,ann=F);plot(xy,ann=F);plot(xy,ann=F);plot(xy,ann=F)
par(op)

What I need now is to set the size of the pictures within this plot
since there is too much free space among the pictures, making the plot
look not that pretty. How can I do that?

Thanks,
Marcin



More information about the R-help mailing list