From f7fd1d70a267df557fc02da4dd284036e1c928dd Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 12 Aug 2003 16:04:00 +0000 Subject: [PATCH] correct white and add axes with ms and 100 frame ticks --- tools/misc/timeframes.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/misc/timeframes.py b/tools/misc/timeframes.py index bb310d3ad..32394da9b 100644 --- a/tools/misc/timeframes.py +++ b/tools/misc/timeframes.py @@ -7,7 +7,7 @@ cyan = ( 0,255,255) red = (255, 0, 0) magenta = (255, 0,255) yellow = (255,255, 0) -white = (255,255, 0) +white = (255,255,255) def plot (x, y, color): y = height - 1 - y @@ -88,6 +88,13 @@ for x in range (width): ravg += times[x]/float(ravg_span) hline (0, width - 1, average, blue) +hline (0, width - 1, 0, white) +vline (0, 0, height - 1, white) +for y in range (0, height - 1, 10): + hline (0, 3, y, white) +for x in range (0, width - 1, 100): + vline (x, 0, 3, white) + f = open ("timeframes.ppm", "wb") f.write ("P6\n") f.write ("#File written by timeframes.py\n")