From a27daff7a5df199702805b3b1ad249c498ec02ac Mon Sep 17 00:00:00 2001 From: Michael Tatarinov Date: Wed, 5 Oct 2011 15:50:33 +0400 Subject: In gpsprof, repair instrumented profile plot after the sat column was added. Signed-off-by: Eric S. Raymond --- gpsprof | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpsprof') 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) -- cgit v1.2.1