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
<p...@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
p...@stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to