choose gnuplot terminal by platform
authorisatest
Wed, 20 Sep 2006 23:30:40 +0200
changeset 20651 41a63aabea83
parent 20650 8188d7605c5b
child 20652 6e9b7617c89a
choose gnuplot terminal by platform
Admin/isatest-statistics
--- a/Admin/isatest-statistics	Wed Sep 20 21:02:56 2006 +0200
+++ b/Admin/isatest-statistics	Wed Sep 20 23:30:40 2006 +0200
@@ -12,9 +12,11 @@
 case $(uname) in
 	SunOS)	
 		ZGREP=xgrep 
+		TE="png color"
 	;;
 	*)	
 		ZGREP=zgrep
+		TE="png"
 	;;
 esac
 
@@ -76,7 +78,7 @@
 do
   fgrep "$SESSION " "$ALL_DATA" > "$SESSION_DATA"
   gnuplot <<EOF
-set terminal png color
+set terminal $TE
 set output "$DIR/${SESSION}.png"
 set xdata time
 set timefmt "%Y-%m-%d"