From: ara.t.howard@... Date: 2006-05-16T04:59:16+09:00 Subject: Re: x-y plots On Tue, 16 May 2006, Jon Dean wrote: > unknown wrote: >> On Tue, 16 May 2006, Jon Dean wrote: >> >>> ruby/gnuplot but it doesn't seam to work with windows. The problem >>> >>> Any idea how to get this working on windows? Or should I be using a >>> different graphing package? >> >> http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/161872 >> >> -a > > Still not working, same problem with the .open method. I'll run through > my steps for installing gnuplot and ruby/gnuplot: > > gnuplot - downloaded gp400win32.zip from gnuplot website. Unzipped > files and stored in C:\Gnuplot. There were two executable files, > pgnuplot.exe and wgnuplot.exe. I renamed pgnuplot.exe to gnuplot.exe. > > ruby/gnuplot - used gem install. Then set path variable in both user > variables and system variables to C:\Gnuplot. Also created RB_GNUPLOT > in system variables and set it to C:\Gnuplot\gnuplot.exe. Still doesn't > work. I then tried to hardcode the path in the gnuplot.rb. Altered > line 22 "path = ENV['PATH'] # || ENV['WHAT_EVER_WINDOWS_PATH_VAR_IS']" > to "path = 'C:\Gnuplot'". Also tried to add the gnuplot.exe. Still > doesn't work. > > What am I doing wrong? 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 -- be kind whenever possible... it is always possible. - h.h. the 14th dali lama