Re: [R] [FORGED] help with gradient boxplot

2016-12-12 Thread Fix Ace via R-help
Hi, Paul, Thank you so much for this further clarification! Ace On Sunday, December 11, 2016 2:09 PM, Paul Murrell 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()

Re: [R] [FORGED] help with gradient boxplot

2016-12-11 Thread Paul Murrell
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 ...

Re: [R] [FORGED] help with gradient boxplot

2016-12-09 Thread Fix Ace via R-help
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

Re: [R] [FORGED] help with gradient boxplot

2016-12-08 Thread Fix Ace via R-help
Hi, Paul, Thank you very much for your reply. I tried your sample code, but did not get gradient filling (still empty box). And many warnings:1: In checkAttrs(attrs, eltName) :   Removing non-SVG attribute name(s): fill, fill-opacity 2: In checkAttrs(attrs, eltName) :   Removing non-SVG

Re: [R] [FORGED] help with gradient boxplot

2016-12-08 Thread Paul Murrell
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 On 09/12/16 11:13, Fix Ace wrote: Hi, Paul, Thank you very much for your reply. I tried your sample code, but did not get

Re: [R] [FORGED] help with gradient boxplot

2016-12-06 Thread Paul Murrell
Hi 'gridSVG' might be one way to get this. For example ... library(lattice) # Draw boxplot (with a package that sits on top of 'grid') bwplot(voice.part ~ height, data=singer, xlab="Height (inches)", horizontal=FALSE) library(grid) grid.ls() # Looks like boxes are called