aboutsummaryrefslogtreecommitdiffstats
path: root/growthplot
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-09-24 08:34:11 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-09-24 08:34:11 +0000
commita586fbf61f66adf765b539b35e76c66c2e4b50c3 (patch)
tree76759790ab7b29cc30bfba8b868e54cdc3ea8a69 /growthplot
parent22ff0cb08c31212e2e99ce56a2908cee4f885ea1 (diff)
downloadfetchmail-a586fbf61f66adf765b539b35e76c66c2e4b50c3.tar.gz
fetchmail-a586fbf61f66adf765b539b35e76c66c2e4b50c3.tar.bz2
fetchmail-a586fbf61f66adf765b539b35e76c66c2e4b50c3.zip
Plotting is working pretty well.
svn path=/trunk/; revision=2601
Diffstat (limited to 'growthplot')
-rwxr-xr-xgrowthplot14
1 files changed, 12 insertions, 2 deletions
diff --git a/growthplot b/growthplot
index d3a8e1be..caa3cddf 100755
--- a/growthplot
+++ b/growthplot
@@ -6,11 +6,12 @@
# Get data from the NEWS file
timeseries >/tmp/growthplot$$
grep "^[0-9]" /tmp/growthplot$$ >/tmp/growthnumbers$$
+grep "^[0-9.]*.[05].0 " /tmp/growthplot$$ >/tmp/growthmajors$$
sed '/^4.2.9/,$d' </tmp/growthnumbers$$ >/tmp/growthannounce$$
cat >/tmp/growthimage$$ <<EOF
set title "Fetchmail project growth history"
-set xlabel 'Days since project start'
+set xlabel 'Days since baseline'
set ylabel 'Participants' 6 # Put it right over the Y axis
set key bottom right box
@@ -43,7 +44,16 @@ EOF
lasttotal=$total
fi
done
-) </tmp/growthplot$$ >>/tmp/growthimage$$
+) </tmp/growthplot$$ >>/tmp/growthimage$$
+
+# OK, now write the major-release labels
+(
+ while read version friends announce total days date
+ do
+ echo "set arrow from $days, $total - 80 to $days, $total - 30 head"
+ echo "set label '$version' at $days - 5, $total - 90"
+ done
+) </tmp/growthmajors$$ >>/tmp/growthimage$$
cat >>/tmp/growthimage$$ <<EOF
# First, plot total participants