title: How to run Gnuplot (.gp) file from Ruby?
body: <p>I wrote a program in Gnuplot (a .gp file) to read data from a <code>.txt</code> file and plot scatter graph. How to write a program in Ruby env for running the <code>.gp</code> file? Should I put all the files in the same folder as well as the Gnuplot application folder? I'm not sure how to set the right path.</p>