From: Hannah S. <han...@co...> - 2006-02-14 12:05:58
|
My previous installation problem is now solved. Hurray! But, now I have a= new problem. Trying to=20 actually plot in python brings up a string of errors. My code goes as suc= h (as per the instructions in a=20 manual I was given): from Gnuplot import Gnuplot, Data graph =3D Gnuplot() results =3D Data(xx, yy) graph.plot(results) The arrays xx and yy have been previously defined. It's the last line tha= t brings up the errors, which are: Traceback (most recent call last): File "<pyshell#3>", line 1, in -toplevel- graph.plot(results) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/s= ite-packages/Gnuplot/ _Gnuplot.py", line 274, in plot self.refresh() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/s= ite-packages/Gnuplot/ _Gnuplot.py", line 215, in refresh self(self.plotcmd + ' ' + string.join(plotcmds, ', ')) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/s= ite-packages/Gnuplot/ _Gnuplot.py", line 199, in __call__ self.gnuplot(s) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/s= ite-packages/Gnuplot/ gp_macosx.py", line 136, in __call__ self.flush() IOError: [Errno 32] Broken pipe I have no idea how to fix this. Once again, any help is very much appreci= ated. Hannah |