[R] Howto Plot With Transparent Background

Christof Winter winter at biotec.tu-dresden.de
Wed Apr 8 17:43:01 CEST 2009


Eik Vettorazzi wrote, On 08.04.2009 15:08:
> By default pdfs have a transparent background, see ?pdf and there the bg 
> part,
> which can be proven by a minimal R+ LaTeX example
> 
> #R code
> pdf("test.pdf")
> plot(1,1)
> dev.off()
> 
> #minimal tex example
> \documentclass[a4paper,12pt]{article}
> \usepackage[svgnames]{xcolor}
> \usepackage{graphicx}
> \begin{document}
> \pagecolor{green}

I really like those bizarre green pages. Thanks for sharing.
:-)

Christof


-- 
Christof Winter
Bioinformatics Group
Biotechnologisches Zentrum
Technische Universität Dresden
Tatzberg 47-51
01307 Dresden
Germany



More information about the R-help mailing list