aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-25 08:31:16 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-02-25 08:31:16 +0000
commit5a984be7f8301d317fa61120dd57427c9189296b (patch)
treea7db1baa0cd96af570677a16c7cccbaf2c5181f1
parenta52d10424f7c97791840f5178cc18abedacc674c (diff)
downloadfetchmail-5a984be7f8301d317fa61120dd57427c9189296b.tar.gz
fetchmail-5a984be7f8301d317fa61120dd57427c9189296b.tar.bz2
fetchmail-5a984be7f8301d317fa61120dd57427c9189296b.zip
Ready to translate out of sell.
svn path=/trunk/; revision=3143
-rwxr-xr-xgrowthplot14
1 files changed, 12 insertions, 2 deletions
diff --git a/growthplot b/growthplot
index bb43297d..d37ff026 100755
--- a/growthplot
+++ b/growthplot
@@ -38,11 +38,14 @@ EOF
echo "lastday = $lastday - 5"
echo "lasttotal = $lasttotal"
echo "endy = breakheight + 50 + count * 50"
+ echo "if (endy > lasttotal) arrowhead = lasttotal+50"
+ echo "if (endy <= lasttotal) arrowhead = lasttotal-5"
echo set arrow \
from lastday, endy \
- to lastday, lasttotal+50 \
+ to lastday, arrowhead \
head
- echo "set label '$legend' at lastday-10, endy+15"
+ echo "if (endy > lasttotal) set label '$legend' at lastday-10, endy+15"
+ echo "if (endy <= lasttotal) set label '$legend' at lastday-500, endy-15"
else
lastday=$days
lasttotal=$total
@@ -75,3 +78,10 @@ gnuplot /tmp/growthimage$$ >growth.png
rm -f /tmp/growth*
# growthplot ends here
+
+
+
+
+
+
+