472,102 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,102 software developers and data experts.

problem with gnuplot in XP

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#85>", line 1, in -toplevel-
g.plot(i,uzuy)
File
"C:\Python23\Lib\site-packages\Gnuplot\_Gnuplot.py",
line 274, in plot
self.refresh()
File
"C:\Python23\Lib\site-packages\Gnuplot\_Gnuplot.py",
line 215, in refresh
self(self.plotcmd + ' ' + string.join(plotcmds, ',
'))
File
"C:\Python23\Lib\site-packages\Gnuplot\_Gnuplot.py",
line 199, in __call__
self.gnuplot(s)
File
"C:\Python23\Lib\site-packages\Gnuplot\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
http://mail.yahoo.com
Oct 28 '05 #1
0 1843

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by ¶}¾Ç¤F¶Ü? | last post: by
4 posts views Thread by Rama Calaga | last post: by
3 posts views Thread by Blues | last post: by
6 posts views Thread by Joseph Suprenant | last post: by
1 post views Thread by Nicola Kaiser | last post: by
reply views Thread by bwaha | last post: by
2 posts views Thread by Blah | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.