[R-sig-Geo] add image to plot

James Rooney ROONEYJ4 at tcd.ie
Mon Dec 9 13:05:24 CET 2013


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


More information about the R-sig-Geo mailing list