diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-25 20:51:18 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-25 20:51:18 +0000 |
commit | 7fd12619d620e33036c832f9d7a5149fe350fe84 (patch) | |
tree | 990a32702efb132ac84e75f5811638db3b2f1e3c /growthplot | |
parent | 5bcaacaf9e1a43222649cfbf1da75156a19b9c9f (diff) | |
download | fetchmail-7fd12619d620e33036c832f9d7a5149fe350fe84.tar.gz fetchmail-7fd12619d620e33036c832f9d7a5149fe350fe84.tar.bz2 fetchmail-7fd12619d620e33036c832f9d7a5149fe350fe84.zip |
Generate left-hanging labels properly.
svn path=/trunk/; revision=3149
Diffstat (limited to 'growthplot')
-rwxr-xr-x | growthplot | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -45,9 +45,9 @@ EOF 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" + strlen=`python -c "print len('$legend')"` + lablen=$((strlen*22)) + echo "set label '$legend' at $lastday-$lablen+10, $endy-15" fi echo set arrow \ from $lastday, $endy \ |