From owner-bug-octave at bevo dot che dot wisc dot edu Wed Dec 11 12:33:38 1996 Subject: Error on calling gnuplot From: "John W. Eaton" To: "Sergei V. Koshelev" Cc: bug-octave at bevo dot che dot wisc dot edu Date: Wed, 11 Dec 1996 12:32:54 -0600 On 11-Dec-1996, Sergei V. Koshelev wrote: : I compiled octava - 1.94 on AIX 3.2.5. I have gnuplot 3.5, and I have : one problem with using octava with gnuplot. : : plot( a(:,1), a(:,2) ) : hold on : plot( b(:,1), b(:,2) ) : : after last command I recive next message: : : >pl "/tmp/oct-H0hBJhyAAA" t "line 1";,"/tmp/oct-H0hBJhyAAB" t "line : 2"; : > ^ : > line 0: invalid command : > : > : >gnuplot> pl "/tmp/oct-H0hBJhyAAA" t "line 1";,"/tmp/oct-H0hBJhyAAB" t : >"line 2"; : > ^ : > line 0: invalid command | : | : I think, only comma must be in command for pl |. When I call gnuplot Please try the following patch. Thanks, jwe Index: pt-plot.cc =================================================================== RCS file: /home/jwe/src/master/octave/src/pt-plot.cc,v retrieving revision 1.88 diff -c -r1.88 pt-plot.cc *** pt-plot.cc 1996/11/21 01:38:48 1.88 --- pt-plot.cc 1996/12/11 18:29:12 *************** *** 127,133 **** #endif #ifndef GPLOT_CMD_END ! #define GPLOT_CMD_END ";\n" #endif static void --- 127,133 ---- #endif #ifndef GPLOT_CMD_END ! #define GPLOT_CMD_END "\n" #endif static void