[R] ggplot2 transparent pdf

baptiste auguie baptiste.auguie at googlemail.com
Wed Aug 19 10:45:28 CEST 2009


Try this,

print(p+ opts(plot.background= theme_rect(fill=NA)))

HTH,

baptiste

2009/8/19 rajesh j <akshay.rajesh at gmail.com>:
> Hi,
> I plotted a histogram using ggplot2 and saved it as a pdf.However, the
> portions outside the histogram dont appear transparent when I use a
> non-white bg colour in my latex document.What can I do to make them
> transparent?
>
> --
> Rajesh.J
>
>        [[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.
>



-- 
_____________________________

Baptiste Auguié

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

http://newton.ex.ac.uk/research/emag




More information about the R-help mailing list