From: Titi A. <tia...@ya...> - 2005-10-31 02:12:34
|
Finally, I tried another way to plot the graph :) I found that SciPy has subpackage gplt that requires Gnuplot. I used gplt and the plot shown. Titi --- Michael Haggerty <mh...@al...> wrote: > Titi Anggono wrote: > > [...] > > here I got the message > > > > ============================ > > Traceback (most recent call last): > > [...] > > 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,Gnuplot-py-1.7 and winXP. Any > > problems with my code ?? > > I don't use windows, but I believe that this problem > usually indicates > that gnuplot (i.e., the program, not the Python > interface) didn't start > up correctly. It could be a PATH problem, for > example. If you search > the mailing list archives you will see several > similar questions and > responses. > > [Including the above paragraph :-) ] > > I just added this question to the FAQ. > > Windows users are encouraged to submit a patch to > produce a better error > message for this situation. It would help new users > a lot. (Just > remember that it has to work for all windows > versions.) > > Michael > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com |