aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgrowthplot3
1 files changed, 3 insertions, 0 deletions
diff --git a/growthplot b/growthplot
index 22358eaf..b6e57aae 100755
--- a/growthplot
+++ b/growthplot
@@ -39,10 +39,13 @@ EOF
endy=$((breakheight+50+count*50))
if ((endy>lasttotal))
then
+ # Label over curve hanging right, arrow down
arrowhead=$((lasttotal+50))
echo "set label '$legend' at $lastday-10, $endy+15"
else
+ # Label under curve hanging left, arrow up
arrowhead=$((lasttotal-5))
+ # This is a crock...
lablen=475
echo "set label '$legend' at $lastday-$lablen, $endy-15"
fi