[R] pdf, pairs and subfloats

Jessica Streicher j.streicher at micromata.de
Thu May 3 17:14:56 CEST 2012


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.


More information about the R-help mailing list