aboutsummaryrefslogtreecommitdiffstats
path: root/growthplot
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-09-24 06:35:32 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-09-24 06:35:32 +0000
commit2b6a343a7b88b3d3d8566c1cf88918c3837b65f8 (patch)
treefba4b2b5e38fa64ac8ee068962bf89f068425abf /growthplot
parent047893de7bd96fb6755bf161e6397256e2e5f3b5 (diff)
downloadfetchmail-2b6a343a7b88b3d3d8566c1cf88918c3837b65f8.tar.gz
fetchmail-2b6a343a7b88b3d3d8566c1cf88918c3837b65f8.tar.bz2
fetchmail-2b6a343a7b88b3d3d8566c1cf88918c3837b65f8.zip
Truncated arrows.
svn path=/trunk/; revision=2598
Diffstat (limited to 'growthplot')
-rwxr-xr-xgrowthplot9
1 files changed, 6 insertions, 3 deletions
diff --git a/growthplot b/growthplot
index 16ba80c4..20e96fac 100755
--- a/growthplot
+++ b/growthplot
@@ -28,16 +28,19 @@ EOF
echo "# Associate $lastday to '$legend'"
echo "count = count + 1"
echo "lastday = $lastday - 5"
+ echo "lasttotal = $lasttotal"
echo set arrow \
- from lastday, 0 to lastday, breakheight \
- nohead
+ from lastday, breakheight \
+ to lastday, lasttotal+50 \
+ head
echo "endx = lastday + 50 + count * 25"
echo "endy = breakheight + 50 + count * 50"
echo "set arrow \
- from lastday, breakheight to endx, endy"
+ from lastday, breakheight to endx, endy nohead"
echo "set label '$legend' at endx+10, endy"
else
lastday=$days
+ lasttotal=$total
fi
done
) </tmp/growthplot$$ >>IMAGE