Re: [R] Viewport and grid.draw

2007-12-10 Thread Deepayan Sarkar
On 12/10/07, Dieter Menne <[EMAIL PROTECTED]> wrote: > Deepayan Sarkar gmail.com> writes: > > > Try looking at the first example in > > http://dsarkar.fhcrc.org/lattice/book/Chapter12-Interaction/edited.R > > for inspiration. > > May I suggest to use > >

Re: [R] Viewport and grid.draw

2007-12-10 Thread Dieter Menne
Deepayan Sarkar gmail.com> writes: > Try looking at the first example in > http://dsarkar.fhcrc.org/lattice/book/Chapter12-Interaction/edited.R > for inspiration. May I suggest to use instead. Nice. Dieter

Re: [R] Viewport and grid.draw

2007-12-09 Thread Deepayan Sarkar
On Dec 9, 2007 6:58 PM, Judith Flores <[EMAIL PROTECTED]> wrote: > Hi Deepayan and everyone, > >I need to add a common legend to a group of latice > graphs, I have tried different ways using viewport and > grid.draw without success. Try looking at the first example in http://dsarkar.fhcrc.org

[R] Viewport and grid.draw

2007-12-09 Thread Judith Flores
Hi Deepayan and everyone, I need to add a common legend to a group of latice graphs, I have tried different ways using viewport and grid.draw without success. Here is what I have: plot.new() library(grid) library('IDPmisc') print(plot1, split=c(1,1,2,4), more=TRUE) print(plot4, split=c(2,1,