summaryrefslogtreecommitdiff
path: root/gpsd.php
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2006-12-01 16:35:38 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2006-12-01 16:35:38 +0000
commit7743902bfb39a94d70e869af042f4f2c168134bd (patch)
tree2386d0e215c708c3d19d9a037ec2dd94943ca4bc /gpsd.php
parent47570226ad258089a192ea6a7cb7e84845bb3dc3 (diff)
downloadgpsd-7743902bfb39a94d70e869af042f4f2c168134bd.tar.gz
Clarify the legend a bit. Prompted by Robin
Diffstat (limited to 'gpsd.php')
-rw-r--r--gpsd.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/gpsd.php b/gpsd.php
index 86d2fc30..f187fe56 100644
--- a/gpsd.php
+++ b/gpsd.php
@@ -95,10 +95,10 @@ function legend($im, $sz, $C){
imageRectangle($im, $x+1*$r+2, $y+1, $x + 2*$r + 2, $y + $r, $C['yellow']);
imageRectangle($im, $x+2*$r+4, $y+1, $x + 3*$r + 4, $y + $r, $C['darkgreen']);
imageRectangle($im, $x+4*$r+6, $y+1, $x + 3*$r + 6, $y + $r, $C['brightgreen']);
- imageString($im, $fn, $x+3+0*$r, $y+$r/3, "<20", $C['red']);
- imageString($im, $fn, $x+5+1*$r, $y+$r/3, "<30", $C['yellow']);
- imageString($im, $fn, $x+7+2*$r, $y+$r/3, "<35", $C['darkgreen']);
- imageString($im, $fn, $x+9+3*$r, $y+$r/3, ">40", $C['brightgreen']);
+ imageString($im, $fn, $x+3+0*$r, $y+$r/3, "<30", $C['red']);
+ imageString($im, $fn, $x+5+1*$r, $y+$r/3, "30+", $C['yellow']);
+ imageString($im, $fn, $x+7+2*$r, $y+$r/3, "35+", $C['darkgreen']);
+ imageString($im, $fn, $x+9+3*$r, $y+$r/3, "40+", $C['brightgreen']);
}
function radial($angle, $sz){