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