Set title as well.
[idzebra-moved-to-github.git] / test / dmoz / update.sh
index c1c113e..f54b9f6 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: update.sh,v 1.4 2002-06-19 11:37:11 adam Exp $
+# $Id: update.sh,v 1.6 2002-06-19 13:26:45 adam Exp $
 t=$1
 test -n "$t" || exit 1
 rm -f *.mf *.LCK *.tmp
@@ -19,15 +19,15 @@ while test -f dmoz.$i.xml; do
 done
 
 cat >plot.dem <<ENDOFMESSAGE
+set output "times-$t.ps"
+set terminal postscript
+set title "ISAM-$t"
 set xlabel "runs"
 set ylabel "seconds"
 plot [0:] [0:] \
-        'times-$t.log' using 2 title 'ISAM-$t(real)' with linespoints, \
-        'times-$t.log' using 3 title 'ISAM-$t(user)' with linespoints, \
-        'times-$t.log' using 4 title 'ISAM-$t(sys)' with linespoints
-set output "times-$t.ps"
-set terminal postscript
-replot
+        'times-$t.log' using 2 title 'real' with linespoints, \
+        'times-$t.log' using 3 title 'user' with linespoints, \
+        'times-$t.log' using 4 title 'sys' with linespoints
 ENDOFMESSAGE
 
 gnuplot plot.dem