]> Pileus Git - ~andy/fetchmail/blobdiff - growthplot
Version bump.
[~andy/fetchmail] / growthplot
index 93c9c0c4ad355ae354f675bcf285fe1847f6db05..07fa436f3e150c52a44209d09965c3d277b1778d 100755 (executable)
@@ -32,20 +32,17 @@ EOF
        do
                if [ "$version" = '%' ]
                then
-                       legend="$friends $announce $total $days $date"
+                       legend="$size $friends $announce $total $days $date"
                        echo "# Associate $lastday to '$legend'"
                        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