|
From: Hans-Bernhard B. <br...@ph...> - 2004-10-28 10:40:45
|
Bernhard Seiwald wrote: > loding the two attached scripts (t1.gpl plots cos(x) on x11 and to > eps-file; t2.gpl plot sin(x) onx11 and to eps-file): > > load "t1.gpl" # produces test1.eps -> ok > load "t2.gpl" # produces test2.eps -> ok AND destroyes test1.eps!!! At least part of the responsibility for this problem lies in your scripts. They fail to close the output files. I.e. before you set term x11 you should set output to close the PostScript output file. The fact that the sequence you used didn't work is a bug in gnuplot, but your scripts are at least somewhat incorrect, too. |