http://gnuplot-py.sourceforge.net/
Python으로 각종 프로그램만들면서 그래프그려보고싶을 때 유용
사용예제 1.
1 >>> import Gnuplot
2 >>> g=Gnuplot.Gnuplot()
3 >>> g("set term png")
4 >>> g("set output 'plot.png'")
5 >>> g("set data style linespoints")
6 >>> g.plot([[0,1.1], [1,5.8], [2,3.3], [3,4.2]])
7 >>>
8 >>> g.reset()
9 >>> from Numeric import *
10 >>> x=arange(10,typecode=Float)
11 >>> x
12 array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9.])
13 >>> y1 = x**2
14 >>> y1
15 array([ 0., 1., 4., 9., 16., 25., 36., 49., 64., 81.])
16 >>> d = Gnuplot.Data(x, y1, title='calculated by python', with='points 3 3')
17 >>> g.plot(Gnuplot.Func('x**2'),d)
18 >>> g("set term png")
19 >>> g("set output 'plot.png'")
20 >>> g.plot(Gnuplot.Func('x**2'),d)
사용예제2. --> PmfSimulation