change the EPS font type ... afterwards!

Hello to all!

I have been using Matplotlib to create a series of plots and now the time to submit the paper has come! But I experience problems now with the font types of the eps images. The Type-3 fonts are not supported, and they accept only Type-1. Is there an easy way to do this ?(and of course not go through the reprocessing of all data to produce again the same plots).

best
Grigoris

You could try ps2ps (which comes with ghostscript) or similar tools.

Mike

···

On 09/23/2013 06:13 PM, Grigoris Maravelias wrote:

Hello to all!

I have been using Matplotlib to create a series of plots and now the
time to submit the paper has come! But I experience problems now with
the font types of the eps images. The Type-3 fonts are not supported,
and they accept only Type-1. Is there an easy way to do this ?(and of
course not go through the reprocessing of all data to produce again the
same plots).

best
Grigoris

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
                    _

\/|o _|_ _. _ | | \.__ __|__|_|_ _ _ ._ _
>>(_| |(_|(/_| |_/|(_)(/_|_ |_|_)(_)(_)| | |

http://www.droettboom.com

A word of advice with regards to your hesitation to redo the graphs. Almost
always you will need to do so anyway when reviews come back. Either because
one of the reviewers wanted a change in the graph, or some other fault in
the process was discovered and needed to be corrected (and so new graphs
have to be made anyway). Also, you may be asked to produce the data for
others to use some time in the future. One thing I try to do with my
projects is to separate the graph production from the data processing. I
would have the data processing save the relevant data, and then have
separate scripts that would generate graphs from that data. For bonus
points, I usually tie everything together with Makefiles so that I don't
have to remember the exact set of commands I used when the reviewer
comments come back 6 months later.

Cheers!
Ben Root

···

On Mon, Sep 23, 2013 at 6:13 PM, Grigoris Maravelias < gr.maravelias@...287...> wrote:

Hello to all!

I have been using Matplotlib to create a series of plots and now the
time to submit the paper has come! But I experience problems now with
the font types of the eps images. The Type-3 fonts are not supported,
and they accept only Type-1. Is there an easy way to do this ?(and of
course not go through the reprocessing of all data to produce again the
same plots).

best
Grigoris

Second this - if it takes longer than 30s to run the processing, then I save the output and reload it to do the plotting. If you want the processing and plotting in the same file (or ipython Notebook, like I do) then consider putting an “if 0:” statement in front of the processing. If you want to run it again later, you just change to an “if 1:”. This approach lets you play with plots w/o reprocessing all the time.

Cheers, Jody

···

On Sep 24, 2013, at 9:12 AM, Benjamin Root <ben.root@…1304…> wrote:

ne thing I try to do with my projects is to separate the graph production from the data processing. I would have the data processing save the relevant data, and then have separate scripts that would generate graphs from that data.

Jody Klymak

http://web.uvic.ca/~jklymak/