From help-octave-request at bevo dot che dot wisc dot edu Fri Jan 29 03:48:15 1999 Subject: problem with 'replot' From: Thomas Walter To: help-octave at bevo dot che dot wisc dot edu Date: Fri, 29 Jan 1999 10:48:03 +0100 Hello, I'm new to 'octave' but I found a problem with 'gnuplot' and 'octave' version 2.0.13 (installed as binary package) and V 2.0.13.96 (self compiled with 'egcs-1.1b on RH-5.1 Linux) Being at the octave prompt oct> replot ("sin(x)") works fine but oct> replot ("sin(x) w l") gives the error message line 0: undefined variable: t This is because of a wrong syntax sent to 'gnuplot'. Octave sends pl sin (x) w l t "bla" and the correct syntax (from the gnuplot-3.7 manual) is pl sin (x) t "bla" w l This is: the title has to come first and then line styles. Bye Thomas -- Was ist der beste Rat? Der Vorrat 8-) ---------------------------------------------- Dipl. Phys. Thomas Walter Inst. f. Physiklische Chemie II Egerlandstr. 3 Tel.: ++9131-85 27326 / 27330 91058 Erlangen, Germany email: walter at pctc dot chemie dot uni-erlangen dot de