RE : Gnuplot

Discussion in 'Python' started by Murugesan, Karthik, Apr 4, 2013.

  1. Hello, I am having a few issues interfacing gnuplot with python. When I tryto run the demo.py file I get the following error messages:


    Traceback (most recent call last):
    File "C:\Program Files\Common Files\dSPACE\Python25\lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript
    exec codeObject in __main__.__dict__
    File "C:\Program Files\Common Files\dSPACE\Python25\Lib\site-packages\Gnuplot\demo.py", line 110, in <module>
    demo()
    File "C:\Program Files\Common Files\dSPACE\Python25\Lib\site-packages\Gnuplot\demo.py", line 36, in demo
    g.reset()
    File "C:\Program Files\Common Files\dSPACE\Python25\Lib\site-packages\Gnuplot\_Gnuplot.py", line 366, in reset
    self('reset')
    File "C:\Program Files\Common Files\dSPACE\Python25\Lib\site-packages\Gnuplot\_Gnuplot.py", line 210, in __call__
    self.gnuplot(s)
    File "C:\Program Files\Common Files\dSPACE\Python25\lib\site-packages\Gnuplot\gp_win32.py", line 130, in __call__
    self.write(s + '\n')
    IOError: [Errno 22] Invalid argument

    After reading other users having similar problems, I altered the 'gnuplot_command' line in gp_win32.py to 'gnuplot_command = "c:\Program Files\wgnuplot\bin\pgnuplot.exe", in an attempt to directly get the pgnuplot.exe(whichI believe is the root of the problem). However, I still get the same errormessage. Any ideas on how to solve this?

    Thanks
    **************************************************************************************** Note: If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ****************************************************************************************
    Murugesan, Karthik, Apr 4, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alythh

    Gnuplot module

    Alythh, Jul 23, 2003, in forum: Perl
    Replies:
    1
    Views:
    1,906
    Yuchung Cheng
    Jul 28, 2003
  2. Replies:
    0
    Views:
    7,703
  3. Joseph Suprenant

    calling GNUPLOT from a c++ program

    Joseph Suprenant, Oct 26, 2003, in forum: C++
    Replies:
    7
    Views:
    18,503
    nagendradh
    Feb 9, 2010
  4. Alexander Stippler

    interfacing with gnuplot without pipes

    Alexander Stippler, Feb 8, 2004, in forum: C++
    Replies:
    4
    Views:
    634
    Evan Carew
    Feb 9, 2004
  5. Bernhard Hidding

    gnuplot parameter interchange

    Bernhard Hidding, Jun 25, 2004, in forum: C++
    Replies:
    3
    Views:
    1,112
    Karl Heinz Buchegger
    Jun 25, 2004
Loading...

Share This Page