書いてみる

最低限ならこんなでよいみたい。

from Numeric import *
import Gnuplot, Gnuplot.funcutils

def test1():
	g = Gnuplot.Gnuplot(debug=1)
	g.title("test1")
	g('set data style linespoints')
	g.plot([(0, 0), (1, 3.5), (2, 2.2), (3, 3.1), (4, 5.0)])
	raw_input("hit any key")