[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: x-y plots

Tiago Santos

3/6/2008 12:19:00 AM

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-....