[R] Trasparent graphs?

Paul Murrell p.murrell at auckland.ac.nz
Tue Oct 14 23:38:12 CEST 2003


Hi


Kenneth Cabrera wrote:
> Hi R-users and R-experts:
> 
> Is it posible to make transparent graphics on R?
> I mean, one graphic with colors over another one
> but both visible with transparent options?


In general this is not possible, but ...

If you are prepared to work with grid graphics, and produce SVG output, 
and use a very experimental package, then take a look at the gridSVG 
package (http://www.stat.auckland.ac.nz/~paul/index.html).  The package 
has a vignette with a very simple example of transparency and there are 
a couple more examples in some talk slides also linked off the page 
given above.  The package has some serious deficiencies, but I have seen 
one reasonably complex real usage of it.

A general alpha transparency graphical parameter may be added to R in 
the near future, but even then this will not be respected by all output 
formats.

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/




More information about the R-help mailing list