[R-sig-Geo] add image to plot

James Rooney ROONEYJ4 at tcd.ie
Wed Dec 11 12:10:29 CET 2013


Anyone got experience with grImport even ?
I'm at my wits end with this. Think I'm going to have to just do it in photoshop or something after the fact.

James
________________________________________
From: r-sig-geo-bounces at r-project.org [r-sig-geo-bounces at r-project.org] On Behalf Of James Rooney [ROONEYJ4 at tcd.ie]
Sent: 09 December 2013 12:05
To: r-sig-geo at r-project.org
Subject: [R-sig-Geo] add image to plot

Hi all,

I need to add a logo to a plot. I have the logo in eps and jpg formats though can convert it to something else if needed.
My preference is to use the eps version since I am plotting my graphs to an eps file.
However I'm having a problem - with grImport - it is not detecting all the features of the image (not picking up colours and missing internal features of plot.

My code is thus:

PostScriptTrace("LogoLarge.eps")
logo<-readPicture("LogoLarge.eps.xml")

Does anyone know why it is not catching all features of the image ?
Any other way of doing is ?

James
_______________________________________________
R-sig-Geo mailing list
R-sig-Geo at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo



More information about the R-sig-Geo mailing list