Re: [Matplotlib-users] change the EPS font type ... afterwards!

2013-09-24 Thread Benjamin Root
On Mon, Sep 23, 2013 at 6:13 PM, Grigoris Maravelias 
gr.maravel...@gmail.com 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


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
--
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=60133471iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] change the EPS font type ... afterwards!

2013-09-24 Thread Jody Klymak

On Sep 24, 2013, at  9:12 AM, Benjamin Root ben.r...@ou.edu 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. 

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


--
Jody Klymak
http://web.uvic.ca/~jklymak/




--
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=60133471iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] change the EPS font type ... afterwards!

2013-09-24 Thread Michael Droettboom
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=60133471iu=/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


--
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=60133471iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] change the EPS font type ... afterwards!

2013-09-23 Thread Grigoris Maravelias
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=60133471iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users