Re: [R] Scatter plot transparency

From: milton ruser <milton.ruser_at_gmail.com>
Date: Fri, 20 Jun 2008 21:42:55 -0300

Hi Anh,

I donīt know if I understood your point fine. I generate a scatterplot, and open it on adobe photoshop 7.0 with tranparent background.

setwd("c:\\temp")

x<-runif(100)
y<-rnorm(100)

png("transparent_scatterplot.png", 800, 600, bg="transparent") plot(y~x)
dev.off()

I hope this help,

miltinho
Brazil

On 6/20/08, Anh Tran <popophobia_at_gmail.com> 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.
>

        [[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. Received on Sat 21 Jun 2008 - 01:28:00 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 - 01:30:47 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