Re: [R] Scatter plot transparency

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sat, 21 Jun 2008 08:05:50 +0100 (BST)

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 background.

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

______________________________________________
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.
Received on Sat 21 Jun 2008 - 07:09:25 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 21 Jun 2008 - 08:30:54 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive