From: Jon Dean Date: 2006-05-16T03:44:30+09:00 Subject: Re: x-y plots 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? -j -- Posted via http://www.ruby-forum.com/.