jgarcia at ija.csic.es
2009-May-09 11:03 UTC
[R] pdf transparency not working with Latex documents
Hello, I' using the pdf() device with bg="transparent" to create plots to be used within a latex (beamer) presentation. Later on, I see that the background of my pdf() graphics is solid white in the final presentation. I'm using R-2.6.0, and I have also tried to set the version argument in pdf() to "1.5" and "1.6". Later versions are not accepted. Has anyone used transparency successfully in this way? Thanks, and best regards, Javier ...
jgarcia at ija.csic.es
2009-May-09 11:22 UTC
[R] pdf transparency not working with Latex documents. Solved
Hi, I've found that after the call to pdf(), I had a posterior line: par(bg="white") that was creating this white background. Setting this to transparent works fine. Thanks, Javier ...> Hello, > I' using the pdf() device with bg="transparent" to create plots to be used > within a latex (beamer) presentation. > > Later on, I see that the background of my pdf() graphics is solid white in > the final presentation. > > I'm using R-2.6.0, and I have also tried to set the version argument in > pdf() to "1.5" and "1.6". Later versions are not accepted. > > Has anyone used transparency successfully in this way? > > Thanks, and best regards, > Javier > ... > > ______________________________________________ > 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. >