[R] pdf, pairs and subfloats

Jessica Streicher j.streicher at micromata.de
Thu May 3 18:27:32 CEST 2012


I was bored and have tried doing it with console and texworks (also uses pdflatex)

texworks preview shows it properly colored, but in acrobat reader it is black and white again. Still scratching my head..

Am 03.05.2012 um 17:14 schrieb Jessica Streicher:

> Hi there!
> 
> I have found a trange problem with getting pairs()-plots to show properly in latex \subfloat environments.
> 
> If i generate images of these plots with pdf() and include them in subfloats, they will either show up in grayscale, or sometimes the datapoints of the pairplots are missing. Mind you, the PDFs themselves are properly colored and look perfectly fine, both as pdf-image in acrobat and in the pdf if included them without subfloat. 
> 
> If i build a png() instead of pdf() it will be properly colored, but doesn't look as nice when reading the pdf (and most people that will read this read it on their PC, not printed)
> 
> Any ideas?
> 
> I am using eclipse with the StatEt Plugin and Sweave.
> I generate the document-pdf with texlipse and pdflatex. 
> 
> --------------
> 
> If requested i will try to generate the images from R console and try building with another Latex tool. That's work though, so i wanted to see first if someone knows whats going on.
> ______________________________________________
> 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.



More information about the R-help mailing list