[R] Scatter plot transparency

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Jun 21 09:05:50 CEST 2008

Please see the footer of this message.  What do you want to be 
transparent, and what did you use to try to get it (there are many 
possibilities)?  What OS and version of R is this?

Note that the default value of "bg" for the png() and tiff() devices is 
"white", and the Windows version of the tiff() device does not support 
transparency.  But png(bg="transparent") does give a transparent 

On Fri, 20 Jun 2008, Anh Tran wrote:

> Hi all,
> I'm putting a few plots together and wondering what format would be best to
> export a few scatter plots to Illustrator to make a figure. I'm thinking
> about overlaying some plot in Illustrator, so the export file type has to be
> transparent for Illustrator (version 10).
> I tried PNG and TIFF, but it does not seems to have transparency that is
> recognized by Illustrator (or Photoshop for that matter).
> EMF (meta data file) on the other hand is very good. The only problem is
> that every dot on the plot becomes a vector, which slows the program down
> considerably (I have about 200k dots on a graph).
> So, is there a good way to import these plot in as picture so I can use them
> as layer for Illustrator (Photoshop would be fine too).
> Thank you all.
> -- 
> Regards,
> Anh Tran
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list
> 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.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list