Re: [R] Fancy Page layout

2010-06-03 Thread Carlos Ortega
Hello, You can the same as trellis but with the standar graphics library in the direction you are exploring. Use par(mfrow=c(5,2)) to display your graphics. The size and location of the graphics can be managed with the layout() function, present in the graphics library. And with mtext and text

Re: [R] Fancy Page layout

2010-06-01 Thread Jim Lemon
On 06/01/2010 04:16 AM, Noah Silverman wrote: Hi, Working on a report that is going to have a large number of graphs and summaries. We have 80 groups with 20 variables each. Ideally, I'd like to produce ONE page for each group. It would have two columns of 10 graphs and then the 5 number

Re: [R] Fancy Page layout

2010-06-01 Thread Noah Silverman
Thanks Jim, That helps. Ben Bolker had a nice suggestion on how to get the lattice package to easily plot all 22 variables in one window. Ultimately, I'd like to generate a PDF that will print on a standard (8.5 x 11) page. A few things I'm still stuck are: 1) How to use the lattice

Re: [R] Fancy Page layout

2010-06-01 Thread Dejian Zhao
I think you can use grid.layout() to create the appropriate layout, allocating proper space for the upper plotting area and the bottom text region, and then use viewport() with the layout parameter to control the output by pushing the viewport at the proper region on the graphical device.

[R] Fancy Page layout

2010-05-31 Thread Noah Silverman
Hi, Working on a report that is going to have a large number of graphs and summaries. We have 80 groups with 20 variables each. Ideally, I'd like to produce ONE page for each group. It would have two columns of 10 graphs and then the 5 number summary of the variables at the bottom. So, perhaps

Re: [R] Fancy Page layout

2010-05-31 Thread RICHARD M. HEIBERGER
Use lattice. require(lattice) ?lattice ?xyplot [[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

Re: [R] Fancy Page layout

2010-05-31 Thread baptiste auguie
Hi, ggplot2 or lattice could help you in creating the plots. Adding a summary will however require some play with Grid graphics; either using gridBase to mix lattice / ggplot2 output with base R graphics (e.g. textplot() from some package I forget), or you'll need to produce the textual summary

Re: [R] Fancy Page layout

2010-05-31 Thread Noah Silverman
Lattice looks nice, but how can I put some summary text at the bottom? On 5/31/10 11:27 AM, RICHARD M. HEIBERGER wrote: Use lattice. require(lattice) ?lattice ?xyplot __ R-help@r-project.org mailing list