From: Daniel Berger Date: 2006-06-07T07:23:50+09:00 Subject: Re: Ruby and Gnuplot under Windows (was: Re: External application under Windows) Nuralanur@aol.com wrote: > > Dear Chris, > > thanks for pointing me to ruby gnuplot. However, I need to > set up a connection under Windows XP (in addition to one > in Linux). > Now, in the manual of Ruby Gnuplot, > it says: > > > Gnuplot.open > Instantiates a new Gnuplot process. The path to the executable is determined > on a Unix or MacOSX system using the which command. Windows users, I have no > idea what to do. If a block is given to the function the opened process is > passed into the block. This mimics the most common usage of the File.open > method. > Note to author of Gnuplot.open: use File.which, from the ptools package. It's cross platform. Regards, Dan