diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-09-28 11:17:50 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-09-28 11:17:50 +0000 |
commit | 255a110259fd43e736b5fe38fc3b7e6cae24266d (patch) | |
tree | a734ef3512408bf7c054cc547f51ea0b5f0133ea | |
parent | ca16b36d2abc4591f2647eea3b161f8d5c818672 (diff) | |
download | fetchmail-255a110259fd43e736b5fe38fc3b7e6cae24266d.tar.gz fetchmail-255a110259fd43e736b5fe38fc3b7e6cae24266d.tar.bz2 fetchmail-255a110259fd43e736b5fe38fc3b7e6cae24266d.zip |
Go straight to GIF.
svn path=/trunk/; revision=2616
-rwxr-xr-x | growthplot | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -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* |