Hi all,
I made 2 arrays, which are i and uzuy (both are
float). And I want to plot the graph between those
arrays.
I followed from the manual
=============== ===
from Gnuplot import Gnuplot, Data
g=Gnuplot()
results=Data(i, uzuy)
g.plot(results)
=============== ==
here I got the message
=============== =============
Traceback (most recent call last):
File "<pyshell#8 5>", line 1, in -toplevel-
g.plot(i,uzuy)
File
"C:\Python23\Li b\site-packages\Gnuplo t\_Gnuplot.py",
line 274, in plot
self.refresh()
File
"C:\Python23\Li b\site-packages\Gnuplo t\_Gnuplot.py",
line 215, in refresh
self(self.plotc md + ' ' + string.join(plo tcmds, ',
'))
File
"C:\Python23\Li b\site-packages\Gnuplo t\_Gnuplot.py",
line 199, in __call__
self.gnuplot(s)
File
"C:\Python23\Li b\site-packages\Gnuplo t\gp_win32.py",
line 125, in __call__
self.write(s + '\n')
IOError: [Errno 22] Invalid argument
=============== =============== ========
FYI, I use python2.3 and Gnuplot-py-1.7. Any problems
with my code ??
Thanks
_______________ _______________ ____
Yahoo! Mail - PC Magazine Editors' Choice 2005
I made 2 arrays, which are i and uzuy (both are
float). And I want to plot the graph between those
arrays.
I followed from the manual
=============== ===
from Gnuplot import Gnuplot, Data
g=Gnuplot()
results=Data(i, uzuy)
g.plot(results)
=============== ==
here I got the message
=============== =============
Traceback (most recent call last):
File "<pyshell#8 5>", line 1, in -toplevel-
g.plot(i,uzuy)
File
"C:\Python23\Li b\site-packages\Gnuplo t\_Gnuplot.py",
line 274, in plot
self.refresh()
File
"C:\Python23\Li b\site-packages\Gnuplo t\_Gnuplot.py",
line 215, in refresh
self(self.plotc md + ' ' + string.join(plo tcmds, ',
'))
File
"C:\Python23\Li b\site-packages\Gnuplo t\_Gnuplot.py",
line 199, in __call__
self.gnuplot(s)
File
"C:\Python23\Li b\site-packages\Gnuplo t\gp_win32.py",
line 125, in __call__
self.write(s + '\n')
IOError: [Errno 22] Invalid argument
=============== =============== ========
FYI, I use python2.3 and Gnuplot-py-1.7. Any problems
with my code ??
Thanks
_______________ _______________ ____
Yahoo! Mail - PC Magazine Editors' Choice 2005