?layout first example seems to do this unless I misunderstand the placement of the second graph.
layout(matrix(c(1,1,0,2), 2, 2, byrow = TRUE)) plot(1:10, col="blue") plot(1:5,col="red") ?rbind for information on it. rbind basically concatinates two rectangular data.sets such as matrices or data.frames Example (mat1 <- matrix(1:9, ncol=3)) (mat2 <- matrix(11:19, ncol=3)) rbind(mat1,mat2) --- On Sun, 8/16/09, RAVI KAPOOR <ravk...@gmail.com> wrote: > From: RAVI KAPOOR <ravk...@gmail.com> > Subject: [R] challenge in using layout with r bind function > To: r-help@r-project.org > Received: Sunday, August 16, 2009, 1:08 PM > Hi > > Can any one explain how i can divide the graphic window > > into two rows and two columns -- allocate figure 1 > all of row 1 and > allocate figure 2 the intersection of column 2 and row 2 > > Actually through above also want to understand the use of > rbind() function > that is used in call to layout() > > Thanks in advance for help and time > > Regards > ravi > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org > mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, > reproducible code. > __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.