31
28
g = Gnuplot.Gnuplot(debug=1)
32
29
g.title('A simple example') # (optional)
33
30
g('set data style linespoints') # give gnuplot an arbitrary command
36
33
g.plot([[0,1.1], [1,5.8], [2,3.3], [3,4.2]])
37
34
raw_input('Please press return to continue...\n')