aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-09-28 11:17:50 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-09-28 11:17:50 +0000
commit255a110259fd43e736b5fe38fc3b7e6cae24266d (patch)
treea734ef3512408bf7c054cc547f51ea0b5f0133ea
parentca16b36d2abc4591f2647eea3b161f8d5c818672 (diff)
downloadfetchmail-255a110259fd43e736b5fe38fc3b7e6cae24266d.tar.gz
fetchmail-255a110259fd43e736b5fe38fc3b7e6cae24266d.tar.bz2
fetchmail-255a110259fd43e736b5fe38fc3b7e6cae24266d.zip
Go straight to GIF.
svn path=/trunk/; revision=2616
-rwxr-xr-xgrowthplot14
1 files 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*