Problem loading heatmap from R saved in PDF into inkscape

Post questions on how to use or achieve an effect in Inkscape.
kalpanag12n
Posts: 1
Joined: Sat Aug 29, 2015 4:53 am

Problem loading heatmap from R saved in PDF into inkscape

Postby kalpanag12n » Sat Aug 29, 2015 5:13 am

Hi all,

I produced a heatmap in R, saved it as both pdf and svg, and when I try to import it into inkscape, the heatmap colors don't look right at all -- they look much lighter. Even when I open the pdf file using foxit or adobe it looks just fine. Attached the pdf and a screenshot of what it looks like in inkscape.

Any ideas/suggestions?

Thanks!
Attachments
screenshot of rplot in inkscape.jpg
screenshot
screenshot of rplot in inkscape.jpg (140.57 KiB) Viewed 936 times
Rplot.pdf
Rplot
(205.12 KiB) Downloaded 156 times

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Problem loading heatmap from R saved in PDF into inkscap

Postby Lazur » Sat Aug 29, 2015 6:36 am

Hi.

That is an anti-aliasing artifact.
You can switch off anti-aliasing or apply pixellize filter on the object for the look of a pdf viewer.

Keep in mind if you use filters they will be converted to raster images when saved as pdf.

If you are that advanced with R, generating overlapping rectangles may be an other option.

a similar problem

also related


Return to “Help with using Inkscape”