[R] multiple scatterplots

kjetil brinchmann halvorsen kjetil at entelnet.bo
Thu Jan 30 18:20:06 CET 2003


On 30 Jan 2003 at 8:51, Heather Good wrote:

Reading 
?par
gives the answer, but that takes some time. An example:

par(mfrow=c(2,2))
> par(pty="s")
> plot(1:10, 1:10)
> 
.
.
.
seems to work

Kjetil Halvorsen

> When I create multiple scatterplots on a page using:
> 
>  > op = par(mfrow=c(2,2))
> plot( x, y, xlab="x", ylab="y", main="plot of x and y")
> etc.
> 
> I am getting plots that are rectangular, not square. Although, the 
> first few times I used this command, it produced square plots. Is there 
> a way to ensure that square plots are created?
> 
> Heather
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list