Insert PDF/EPS in figure

Hi all

I am trying to include vector graphics in the form of either PDF or EPS in a matplotlib figure. At first I thought it would be straight forward, but all my googling have been in vain so far.

Eventually I found this post:

http://www.mailinglistarchive.com/html/matplotlib-users@lists.sourceforge.net/2009-09/msg00009.html

stating that it is not possible to include EPS in matplotlib figures. Is this still the case? Or might there be some work around?

Cheers,

Per

Hi all

I am trying to include vector graphics in the form of either PDF or EPS
in a matplotlib figure. At first I thought it would be straight forward,
but all my googling have been in vain so far.

Eventually I found this post:

http://www.mailinglistarchive.com/html/matplotlib-users@lists.sourceforge.net/2009-09/msg00009.html

stating that it is not possible to include EPS in matplotlib figures. Is
this still the case? Or might there be some work around?

This is still the case; there has been no change since Mike's message, and there is not likely to be any. Importing from pdf or eps would be very difficult. Few applications even attempt it.

Eric

···

On 01/15/2012 01:00 AM, Per Nielsen wrote:

Cheers,

Per

That said, PostScript drawing on top of an EPS is naturally
quite possible. See e.g. PyX for a pure Python approach.
http://pyx.sourceforge.net/manual/epsfile.html

Cheers,
Alan Isaac

···

On 1/15/2012 12:42 PM, Eric Firing wrote:

Importing from pdf or eps would be
very difficult. Few applications even attempt it.