aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgrowthplot9
1 files changed, 3 insertions, 6 deletions
diff --git a/growthplot b/growthplot
index 93c9c0c4..c9fbdd8f 100755
--- a/growthplot
+++ b/growthplot
@@ -37,15 +37,12 @@ EOF
echo "count = count + 1"
echo "lastday = $lastday - 5"
echo "lasttotal = $lasttotal"
+ echo "endy = breakheight + 50 + count * 50"
echo set arrow \
- from lastday, breakheight \
+ from lastday, endy \
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 nohead"
- echo "set label '$legend' at endx+10, endy"
+ echo "set label '$legend' at lastday-10, endy+15"
else
lastday=$days
lasttotal=$total