Very simple graphic plotting...

Michele Simionato mis6 at
Wed Aug 7 16:30:57 CEST 2002

chr_werner at (christian) wrote in message news:<8829a034.0208060642.9119f81 at>...
> Hallo python gods :-)
> I'm looking for a easy-to-use module which let's me draw some plots
> As you can probably tell from the above, the more simple the solution
> the better.

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')
set title 'Simple diagram'
plot x*x

The quality of gnuplot drawings maybe is not the top, however it is
easy to use, well documented and free. It has also powerful features
as fitting of
data sets with user provided functions.

Michele Simionato - Dept. of Physics and Astronomy
210 Allen Hall Pittsburgh PA 15260 U.S.A.
Phone: 001-412-624-9041 Fax: 001-412-624-9163

More information about the Python-list mailing list