diff options
author | Gary E. Miller <gem@rellim.com> | 2005-03-27 06:23:37 +0000 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2005-03-27 06:23:37 +0000 |
commit | 697603c905c7bd234f13c49c63b63e0b412def22 (patch) | |
tree | f8625be30bcbbbf05834a878b19f567fbc701c4f /gpsprof | |
parent | a2140cf033d4b66402eec6481f78eaf94801769a (diff) | |
download | gpsd-697603c905c7bd234f13c49c63b63e0b412def22.tar.gz |
get the comma in the right place if no altitude.
Diffstat (limited to 'gpsprof')
-rwxr-xr-x | gpsprof | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -114,9 +114,9 @@ class spaceplot: fmt += "set arrow from -chlen,0 to chlen,0 nohead\n" fmt += "set arrow from 0,-chlen to 0,chlen nohead\n" fmt += 'plot cx(t, cep),cy(t, cep) title "CEP (50%%) = %f meters", ' % (cep_meters) - fmt += ' "%s" using 1:2 with points ls 3 title "%d GPS fixes" , ' % (file, len(self.fixes)) + fmt += ' "%s" using 1:2 with points ls 3 title "%d GPS fixes" ' % (file, len(self.fixes)) if alt_avg != gps.ALTITUDE_NOT_VALID: - fmt += '"%s" using ( %f ):($5 > %d ? $5 - %f : 1/0) axes x1y2 with points ls 2 title " %d Altitude fixes, Average = %f" \n' % ( file, lon_max + 1, gps.ALTITUDE_NOT_VALID, alt_avg, alt_num, alt_avg) + fmt += ', "%s" using ( %f ):($5 > %d ? $5 - %f : 1/0) axes x1y2 with points ls 2 title " %d Altitude fixes, Average = %f" \n' % ( file, lon_max + 1, gps.ALTITUDE_NOT_VALID, alt_avg, alt_num, alt_avg) return fmt class uninstrumented: |