문제

So I am working on a mapping project. We have maps near completion -drawn using R base graphics (i.e. plot() ) I am outputting my maps in eps format to best suit publication. However the mapping agency who kindly gave us the data require us include their logo - whihc I have in EPS and jpg formats.

How do I load an eps file into R and then superimpose it on a map have drawn (using base graphics) ?

도움이 되었습니까?

해결책

The grImport package can be used to import vector graphics (the .eps logo file) and add the imported graphic to a plot. There are a couple of vignettes with the package that show several examples.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top