From: Tiago Santos Date: 2008-03-06T09:19:29+09:00 Subject: Re: x-y plots Jon Dean wrote: >>> i'm not sure and not at a windows box attm. i'll try to look at this in >>> a >>> bit. hopefully someone else will chime in before then though... >>> >>> regards. >>> >>> -a >> >> ok, thanks. Just in case it helps, part of the error I get is that the >> '+' is an undefined method in gnuplot.rb line 45. >> >> -j > > I've made a bit of progress. On line 46 of the gnuplot.rb, I changed: > cmd += " -persist" if persist to : > cmd = "C:\\Gnuplot\\gnuplot.exe" + " -persist" if persist > > The graph pops up for a very brief period and then terminates. The > program is the sine wave example from the ruby/gnuplot home page how to. > It appears as if the pesist flag is not working correctly, but I'm not > sure how to fix this. > > -j Hi, I just had this problem and that solved it. Thanks. Regards. -- Posted via http://www.ruby-forum.com/.