diff options
author | Gary E. Miller <gem@rellim.com> | 2010-04-22 00:19:43 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2010-04-22 00:19:43 -0700 |
commit | 182754f0e068dc4cf1f2bd2e0f3fbefe28d58886 (patch) | |
tree | 878b4278941a0d0624a14ccedd5f8a754b17b4c3 /gpsprof | |
parent | c486ce9325731e9da59b4d4e8411bf7fc858bd4e (diff) | |
download | gpsd-182754f0e068dc4cf1f2bd2e0f3fbefe28d58886.tar.gz |
In gpsprof, put CEP on top of the individual fixes.
That way when plotting a large number of fixes the CEP does not get
covered up.
Diffstat (limited to 'gpsprof')
-rwxr-xr-x | gpsprof | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -124,8 +124,8 @@ class spaceplot: fmt += 'chlen = cep/20\n' 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 += ' "-" using 1:2 with points ls 3 title "%d GPS fixes" ' % (len(self.fixes)) + fmt += 'plot using 1:2 with points ls 3 title "%d GPS fixes" ' % (len(self.fixes)) + fmt += ' "-" cx(t, cep),cy(t, cep) title "CEP (50%%) = %f meters", ' % (cep_meters) if not gps.isnan(alt_avg): fmt += ', "-" using ( %f ):($5 < 100000 ? $5 - %f : 1/0) axes x1y2 with points ls 2 title " %d Altitude fixes, Average = %f" \n' % (lon_max +1, alt_avg, alt_num, alt_avg) else: |