diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-09-25 09:24:43 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-09-25 09:24:43 +0000 |
commit | 8924ff7a344883626df19af13370ecf273d0ecbe (patch) | |
tree | 20938509750a2baa3edc2210bb38bf8dc2fa0edd | |
parent | a586fbf61f66adf765b539b35e76c66c2e4b50c3 (diff) | |
download | fetchmail-8924ff7a344883626df19af13370ecf273d0ecbe.tar.gz fetchmail-8924ff7a344883626df19af13370ecf273d0ecbe.tar.bz2 fetchmail-8924ff7a344883626df19af13370ecf273d0ecbe.zip |
We can generate a PNG now.
svn path=/trunk/; revision=2602
-rwxr-xr-x | growthplot | 25 |
1 files changed, 10 insertions, 15 deletions
@@ -12,8 +12,9 @@ sed '/^4.2.9/,$d' </tmp/growthnumbers$$ >/tmp/growthannounce$$ cat >/tmp/growthimage$$ <<EOF set title "Fetchmail project growth history" set xlabel 'Days since baseline' -set ylabel 'Participants' 6 # Put it right over the Y axis +set ylabel 'Participants' set key bottom right box +set terminal gif EOF @@ -56,24 +57,18 @@ EOF ) </tmp/growthmajors$$ >>/tmp/growthimage$$ cat >>/tmp/growthimage$$ <<EOF -# First, plot total participants plot [] [0:] '/tmp/growthnumbers$$' using 5:4 \ - title "Both lists" with points 3 - -# Then, plot announce-list only starting from the Julian date of the split -replot '/tmp/growthannounce$$' using 5:3 \ - title "fetchmail-announce" with points 4 - -# Finally, plot the developer list -replot '/tmp/growthannounce$$' using 5:2 \ + title "Both lists" with points 3, \ + '/tmp/growthannounce$$' using 5:3 \ + title "fetchmail-announce" with points 4, \ + '/tmp/growthannounce$$' using 5:2 \ title "fetchmail-friends" with points 2 EOF -echo "pause 9999" >>/tmp/growthimage$$ - -gnuplot /tmp/growthimage$$ +# The gnuplot driver for PNG doesn't do color +gnuplot /tmp/growthimage$$ >growth.gif +gif2png -s -d -qq growth.gif rm -f /tmp/growth* -# The gnuplot drivers for GIF and PNG are deficient. To capture this image, -# use the xv middle-button grab and save to PNG. +# growthplot ends here |