From: Ruby Mode Date: 2006-03-12T02:21:43+09:00 Subject: Calling plotutils from xemacs using Ruby GSL ------=_Part_2767_3971286.1142097688040 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm using ruby from Xemacs on OSX. Ruby works well in IRB mode from Xemacs= , but I can't call plotutils successfully from Xemacs, even though I know it is installed. I'm trying to use rubygsl, which also runs fine, except it can't run plotutils per the example here: http://rb-gsl.rubyforge.org/screenshot.html#4 The error I get is: #!/usr/bin/env ruby require("gsl"); poly=3DPoly[1.5,-1.25,-3.75,0,1]; roots=3Dpoly.solve [ [5.000e-01 0.000e+00] [-1.000e+00 0.000e+00] [-1.500e+00 0.000e+00] [ 2.000e+00 0.000e+00] ] # x=3DVector.linspace(-2.5, 2.5, 20);y=3Dpoly.eval(x); zero=3DVector.calloc(4); graph([x,y], [roots.real,zero], "-T X -C -g 3 -S 4") NoMethodError: GNU plotutils required from (irb):7:in `graph' from (irb):7 With no windows opening. Thanks ------=_Part_2767_3971286.1142097688040--