From: Lars Haugseth Date: 2010-06-01T21:50:07+09:00 Subject: Re: how to call gnuplot from ruby? * Joel VanderWerf wrote: > > Robert Dober wrote: >> On Fri, May 28, 2010 at 2:51 AM, Pen Ttt wrote: >>> IO.popen('gnuplot', 'w') { |io| >>> io.puts "plot sin(x)" >>> } >>> i tested ,it's ok >>> but i don't understand why is ('gnuplot', 'w'),why is not ('gnuplot', >>> 'r'), >> you are writing to the handle, right? >> BTW were there not some Ruby bindings for Gnuplot, not sure though. > > There is a gnuplot gem which IIRC makes the gnuplot interface more > object oriented. The latest version of the gnuplot gem is 2.3.1, but I'm unable to find any documentation online (or even a homepage) that is even remotely up to date. -- Lars Haugseth