[SciPy-user] plotting question

Travis E. Oliphant oliphant at ee.byu.edu
Thu Jul 22 15:04:13 CDT 2004


matt wrote:
> I read the wikki plotting tutorial and was left with a few questions.  I 
> want my code to automatically generate plots and dump them to files 
> instead of displaying them.  Any old image format or pdf would be fine. 
>  Is there a way to do this?  I assume there must be since that 
> functionality is integral to gnuplot.  An example or pointer to one 
> would be very useful.  I'd be happy to add whatever I get to the 
> plotting tutorial on the wikki.

xplt.window(0,display='', hcp='output.ps')
xplt.plg(rand(1000))
xplt.hcp()

shows that this is possible with xplt but it may take a few fixes to get 
it to play nice with xplt.plot

-Travis



More information about the SciPy-user mailing list