Hi, Paul, Thank you very much! It works this time with "strict=FALSE" option. Another relevant question: how did you figure out? that boxes in boxplot are called "bwplot.box.polygon". If I am trying to make a gradient filling for barplot of other plots, how would I define grobs? Thanks!! Ace On Thursday, December 8, 2016 5:24 PM, Paul Murrell <paul at stat.auckland.ac.nz> wrote: Hi You could try ... grid.export(..., strict=FALSE) ... and/or install the latest gridSVG version from R-Forge ... https://r-forge.r-project.org/R/?group_id=1025 Paul [[alternative HTML version deleted]]
Hi Great to hear you have it working. Figuring out the names of grobs takes two things: 1. someone has to name the grobs 2. grid.ls() The reason why I did my example using 'lattice' is because 'lattice' names all of its grobs. There is a document ... http://lattice.r-forge.r-project.org/Vignettes/src/naming-scheme/namingScheme.pdf ... that describes the 'lattice' naming scheme. Paul On 10/12/16 10:39, Fix Ace wrote:> Hi, Paul, > > Thank you very much! It works this time with "strict=FALSE" option. > > Another relevant question: > > how did you figure out that boxes in boxplot are called > "bwplot.box.polygon". If I am trying to make a gradient filling for > barplot of other plots, how would I define grobs? > > Thanks!! > > Ace > > > > > > On Thursday, December 8, 2016 5:24 PM, Paul Murrell > <paul at stat.auckland.ac.nz> wrote: > > > Hi > > You could try ... > > grid.export(..., strict=FALSE) > > ... and/or install the latest gridSVG version from R-Forge ... > > https://r-forge.r-project.org/R/?group_id=1025 > > 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/
Hi, Paul, Thank you so much for this further clarification! Ace On Sunday, December 11, 2016 2:09 PM, Paul Murrell <paul at stat.auckland.ac.nz> wrote: Hi Great to hear you have it working. Figuring out the names of grobs takes two things: 1. someone has to name the grobs 2. grid.ls() The reason why I did my example using 'lattice' is because 'lattice' names all of its grobs.? There is a document ... http://lattice.r-forge.r-project.org/Vignettes/src/naming-scheme/namingScheme.pdf ... that describes the 'lattice' naming scheme. Paul On 10/12/16 10:39, Fix Ace wrote:> Hi, Paul, > > Thank you very much! It works this time with "strict=FALSE" option. > > Another relevant question: > > how did you figure out? that boxes in boxplot are called > "bwplot.box.polygon". If I am trying to make a gradient filling for > barplot of other plots, how would I define grobs? > > Thanks!! > > Ace > > > > > > On Thursday, December 8, 2016 5:24 PM, Paul Murrell > <paul at stat.auckland.ac.nz> wrote: > > > Hi > > You could try ... > > grid.export(..., strict=FALSE) > > ... and/or install the latest gridSVG version from R-Forge ... > > https://r-forge.r-project.org/R/?group_id=1025 > > 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/ [[alternative HTML version deleted]]