summaryrefslogtreecommitdiff
path: root/gpsprof
diff options
context:
space:
mode:
authorMichael Tatarinov <kukabu@gmail.com>2011-10-05 15:50:33 +0400
committerEric S. Raymond <esr@thyrsus.com>2011-10-05 23:54:17 -0400
commita27daff7a5df199702805b3b1ad249c498ec02ac (patch)
tree5fc26d542470e4d1225b03f8389adc87948348ba /gpsprof
parent61f0d1a4e6b36c41dda1a14fb283fd70b2ad08a5 (diff)
downloadgpsd-a27daff7a5df199702805b3b1ad249c498ec02ac.tar.gz
In gpsprof, repair instrumented profile plot after the sat column was added.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'gpsprof')
-rwxr-xr-xgpsprof2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsprof b/gpsprof
index ea9cd335..360a8c11 100755
--- a/gpsprof
+++ b/gpsprof
@@ -283,7 +283,7 @@ set key title "Analyzed latency"
set key below
plot \\\n'''
for (i, legend) in enumerate(legends):
- j = len(legends) - i + 3
+ j = len(legends) - i + 4
fmt += ' "-" using 0:%d title "%s" with impulses, \\\n' % (j, legend)
fmt = fmt[:-4] + "\n"
return fmt + self.header() + (self.data() + "e\n") * len(legends)