diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-09-23 22:58:56 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-09-23 22:58:56 +0000 |
commit | 4f79d3e5dbcd4f53cf7d8a4e3b4013da5496c81b (patch) | |
tree | e8719b79d19104fcd7d80621e4a097fdb49ee29c /growthplot | |
parent | a1bb60776b05d7de1b6486e56d7682b33368ceff (diff) | |
download | fetchmail-4f79d3e5dbcd4f53cf7d8a4e3b4013da5496c81b.tar.gz fetchmail-4f79d3e5dbcd4f53cf7d8a4e3b4013da5496c81b.tar.bz2 fetchmail-4f79d3e5dbcd4f53cf7d8a4e3b4013da5496c81b.zip |
Initial revision
svn path=/trunk/; revision=2596
Diffstat (limited to 'growthplot')
-rwxr-xr-x | growthplot | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/growthplot b/growthplot new file mode 100755 index 00000000..c9fd834b --- /dev/null +++ b/growthplot @@ -0,0 +1,31 @@ +#!/bin/sh +# +# growthplot -- plot the fetchmail population's growth as a function of time +# + +# Get data from the NEWS file +timeseries >/tmp/growthplot$$ +grep "^[0-9]" /tmp/growthplot$$ >/tmp/growthnumbers$$ +sed '/^4.2.9/,$d' </tmp/growthnumbers$$ >/tmp/growthannounce$$ + +gnuplot <<EOF +set title "Fetchmail project growth history" +set xlabel 'Days since project start' +set ylabel 'Participants' 6 # Put it right over the Y axis +set key top left box + +# 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 1 + +# Finally, plot the developer list +replot '/tmp/growthannounce$$' using 5:2 title "fetchmail-friends" with points 2 + +pause 9999 +EOF + +rm -f /tmp/growth* + + |