V.Shenoy wrote:
> I am pretty new to Gnuplot and I have installed Gnuplot.py recently. I
> am getting the following bug when i run the test.py...
>
> File "test.py", line 284, in ?
> main()
> File "test.py", line 64, in main
> g.plot(Gnuplot.Func('sin(x)'))
> File "C:\Python22\Gnuplot\_Gnuplot.py", line 274, in plot
> self.refresh()
> File "C:\Python22\Gnuplot\_Gnuplot.py", line 215, in refresh
> self(self.plotcmd + ' ' + string.join(plotcmds, ', '))
> File "C:\Python22\Gnuplot\_Gnuplot.py", line 199, in __call__
> self.gnuplot(s)
> File "C:\Python22\Gnuplot\gp_win32.py", line 125, in __call__
> self.write(s + '\n')
> IOError: [Errno 22] Invalid argument
>
> Kindly help...
This usually means that pgnuplot.exe is either not installed or not in
your PATH.
Michael
|