|
From: Paweł S. <paw...@gm...> - 2010-03-03 18:55:31
|
In what path you have a Gnuplot installed. I have that error when in
Gnuplot path i have a " " (space)
in my example :
"c:/Program Files/Gnuplot/bin/wgnuplot.exe".
Then I copy Gnuplot dir to c:/ and change a path in gp_win32.py and
that solve my problem.
Pleas answer did this help you too ???
Paweł Siergiejuk
2010/3/3 alain dimier <ala...@gm...>:
> Hi
>
> I try to run Gnuplot in Python under windows with IDLE or through a command
> line. I'm running Python version. 2.6.4.
>
>
> import Gnuplot, Gnuplot.funcutils
> from numpy import *
> g = Gnuplot.Gnuplot(debug=1)
> gnuplot> set terminal windows
> g.title('A simple example')
>
>
> Traceback (most recent call last):
> File "<pyshell#4>", line 1, in <module>
> g.title('A simple example')
> File "C:\Python26\lib\site-packages\Gnuplot\_Gnuplot.py", line 473, in
> title
> self.set_label('title', s, offset=offset, font=font)
> File "C:\Python26\lib\site-packages\Gnuplot\_Gnuplot.py", line 410, in
> set_label
> self(string.join(cmd))
> File "C:\Python26\lib\site-packages\Gnuplot\_Gnuplot.py", line 210, in
> __call__
> self.gnuplot(s)
> File "C:\Python26\lib\site-packages\Gnuplot\gp_win32.py", line 130, in
> __call__
> self.write(s + '\n')
> IOError: [Errno 22] Invalid argument
>
> Can you give me some advice about the way to solve that problem?
> Best Regards
>
>
> --
> Alain Dimier
>
> (33) 4 26 64 86 91
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Gnuplot-py-users mailing list
> Gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users
>
>
|