Very simple graphic plotting...

Matthias Baas baas at ira.uka.de
Wed Aug 7 16:13:15 EDT 2002


On 7 Aug 2002 07:30:57 -0700, mis6 at pitt.edu (Michele Simionato) wrote:
>I had the same problem few months ago.If you are familiar with
>gnuplot, the following snippet is the simplest way to do the job:
>
>import os
>gnuplot=os.popen('gnuplot -persist','w')
>commands="""\
>set title 'Simple diagram'
>plot x*x
>"""
>gnuplot.write(commands)
>gnuplot.close()

You might find the following link a useful one:

http://gnuplot-py.sourceforge.net

- Matthias -




More information about the Python-list mailing list