From: Benny M. <ben...@gm...> - 2008-04-29 09:23:34
|
Please, have a look in test.py file in subversion. To plot this do: import Gnuplot > > x = linspace(0.0, 1.8, 18) > y = 3 - 2*x + 2*sin(4*x) > points2 = transpose(array([x,y])) --> no, not needed ! > > > g = Gnuplot.Gnuplot(persist=1) > d = Gnuplot.Data(points2, with='linespoints', title='points2') --> no, do: d = Gnuplot.Data(x, y, with_='linespoints', title='points2') Benny |