The following: library(grid) grid.newpage() example(Grid) has the yaxis label partly cut off and the x axis label does not appear at all. Also ?grid.multipanel in that example brings up documentation for grid-internal but this would not seem to be internal if its part of an example. I am using:> R.version.string # Windows XP[1] "R version 2.2.0, 2005-09-20"
I've also noticed the behaviour of grid.rect() has changed in 2.2.0. Before the fill defaulted to transparent, but now it defaults to white. Hadley On 10/21/05, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:> The following: > > library(grid) > grid.newpage() > example(Grid) > > has the yaxis label partly cut off and the x axis label does not appear at all. > Also ?grid.multipanel in that example brings up documentation for > grid-internal but this would not seem to be internal if its part of an example. > > I am using: > > > R.version.string # Windows XP > [1] "R version 2.2.0, 2005-09-20" > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >
Hi Gabor Grothendieck wrote:> The following: > > library(grid) > grid.newpage() > example(Grid) > > has the yaxis label partly cut off and the x axis label does not appear at all. > Also ?grid.multipanel in that example brings up documentation for > grid-internal but this would not seem to be internal if its part of an example.grid.multipanel() is just a demo hack function, not intended for people to use for anything serious, just meant to provide an example of what can be done. It had some merit when grid was just a prototype package for people to play with. Now that grid is more mature I should probably just kill grid.multipanel(). Paul -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 paul at stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul/
On 10/24/05, Paul Murrell <p.murrell at auckland.ac.nz> wrote:> Hi > > > Gabor Grothendieck wrote: > > The following: > > > > library(grid) > > grid.newpage() > > example(Grid) > > > > has the yaxis label partly cut off and the x axis label does not appear at all. > > Also ?grid.multipanel in that example brings up documentation for > > grid-internal but this would not seem to be internal if its part of an example. > > > grid.multipanel() is just a demo hack function, not intended for people > to use for anything serious, just meant to provide an example of what > can be done. It had some merit when grid was just a prototype package > for people to play with. Now that grid is more mature I should probably > just kill grid.multipanel().If you kill it I still think it would be a nice to provide a similar example. I am sorry that I missed knowing about it when initially trying to learn how to do layouts since it might have saved me some time. Maybe it can be incorporated into the example section of one of the help files or into a demo or even a vignette on grid.multipanel. Also note that grid.multipanel is used not only in Grid but also in: http://www.stat.auckland.ac.nz/~paul/grid/doc/rotated.pdf