Re: [R] Plotting 27 line plots in one page

From: Srinivas Iyyer <srini_iyyer_bio_at_yahoo.com>
Date: Fri 10 Feb 2006 - 09:05:29 EST


hi sarah,
 thanks for your mail.

#################################################

> par(mfrow=c(9,3))
> mypltfunc(lls)

Error in plot.new() : figure margins too large
> par(mfcol=c(9, 3))
> mypltfunc(lls)
Error in plot.new() : figure margins too large
##################################################

unfortunately I had this problem before. Thats the reason, I went on using more simply, par(9,3).

I tried the following too, although, truely I did not understand the much after doing ?par:

> mar = c(1,1,1,1)
> oma = c(1,1,1,1)
> par(mar,oma)

[[1]]
NULL [[2]]
NULL
> mypltfunc(lls)
>

By doing this the problem turned out that it printed all 27 figures, one after other in fraction of second, and I see the last figure.

given my background (molecular biology) sometimes it is very very difficult to understand the documentation due to terminology problem.

thanks
sri

> >
> > I want to plot all these elements in 9x3 plot (9
> rows
> > and 3 columns)
> > par(9,3)
>
>
> You need to specify what par you want - see ?par for
> details.
> In this case, either
>
> par(mfrow=c(9,3))
> or
> par(mfcol=c(9, 3))
>
> will do what you want.
>
> Sarah
> --
> Sarah Goslee
> http://www.stringpage.com
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Feb 10 10:34:22 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:27 EST