[R] Insert .eps files in to an R plot.

Paul Murrell p.murrell at auckland.ac.nz
Fri Mar 26 03:27:56 CET 2010


Greg Snow wrote:
> The subplot function in the TeachingDemos package will create a new
> plot inside of the existing one, so if you can plot your one image,
> the subplot function will help (using base graphics).  The EBImage
> package may help with the reading and plotting of the figure.  (there
> is also grImport, but it looks like it is fully grid based which is

Just to clarify, only the *drawing* parts of the package are grid-based; 
the *import* parts of the package are more neutral and it is possible to 
draw the resulting imported image using "base" graphics (it's just 
hard/painful to write a *general* drawing function for the imported 
image using base graphics).


> harder to work with base plots, on the other hand if your plot is
> grid based, then it will work better than subplot).
> Hope this helps,

Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz

More information about the R-help mailing list