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

Reply via email to