Matthew Czesarski <matthew.czesar...@gmail.com> wrote:

... it seems that MPL rasterizes everything in the
production of its EPS output. Is there any way to get around this ...


hi matt,

i think i know maybe what you mean: if i save a matplotlib figure as eps and then use pstoedit for further processing with xfig, the ticklabels are somehow not correctly recognized as text.

as far as i understand, this is an issue with the mathtext capabilities. you can see what i do as workaround in
http://www.thamnos.de/repos/sebtools/sebtools.main/sebtools.py
(class 'Fig', style 'f')

unfortunately, i do not recall all details any more. if i was to look into that again, i would start playing with the text.usetex parameter. i would expect this to be enough to render linear axes correctly (although not as nicely). if you have logarithmic axes, it gets more complicated as something like 10^5 IS a mathtext. i've therefore made a class MyLogFormatterMathtext which outputs the labels very ugly but as normal text.

i hope that something along these lines can help you, i was using pstoedit a lot to see whether the text is recognized as text or not.

good luck,
sebastian.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Attachment: pgpJ75SNkmLnj.pgp
Description: Digitale PGP-Unterschrift

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to