blob: c9fd834baa13fb09a58904e594b46daea786c7b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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*
|