[R] Plotting 27 line plots in one page

From: Srinivas Iyyer <srini_iyyer_bio_at_yahoo.com>
Date: Fri 10 Feb 2006 - 06:52:34 EST

Dear group,
 I am a novice programmer in R. I have a list that has a length of 27 elements. Each element is derived from table function.

>lls <- table(drres)



I want to plot all these elements in 9x3 plot (9 rows and 3 columns)
> mypltfunc <- function(mydata){

+ for (i in 1:27){
+ plot(unlist(mydata[i]))
+ }
+ }

> mypltfunc(lls)

In the graphics window, all 27 figures are drawn in fraction of sec, one by one and I get to see the last graph. It is not drawing into this 9X3 grid.

Could any one help me please.


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 08:39:05 2006

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