From 255a110259fd43e736b5fe38fc3b7e6cae24266d Mon Sep 17 00:00:00 2001
From: "Eric S. Raymond" <esr@thyrsus.com>
Date: Tue, 28 Sep 1999 11:17:50 +0000
Subject: Go straight to GIF.

svn path=/trunk/; revision=2616
---
 growthplot | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/growthplot b/growthplot
index a7155759..93c9c0c4 100755
--- a/growthplot
+++ b/growthplot
@@ -20,7 +20,7 @@ set tics out
 set autoscale  y
 set y2range [5000:50000]
 set key bottom right box
-set terminal gif
+set terminal png color
 
 EOF
 
@@ -66,20 +66,14 @@ cat >>/tmp/growthimage$$ <<EOF
 plot [] [0:] '/tmp/growthnumbers$$' using 6:5 \
 		title "Both lists" with points 3, \
      '/tmp/growthannounce$$' using 6:4 \
-		title "fetchmail-announce" with points 4, \
+		title "fetchmail-announce" with points 5, \
      '/tmp/growthannounce$$' using 6:3 \
 		title "fetchmail-friends" with points 2, \
      '/tmp/growthnumbers$$' using 6:2 axes x1y2 \
-		title "Lines of code" with points 6
+		title "Lines of code" with points 7
 EOF
 
-# The gnuplot driver for PNG doesn't do color
-if gnuplot /tmp/growthimage$$ >growth.gif
-then
-    gif2png -s -d growth.gif
-else
-    echo "Plot failed."
-fi
+gnuplot /tmp/growthimage$$ >growth.png
 
 rm -f /tmp/growth*
 
-- 
cgit v1.2.3