diff options
author | Sanjeev Gupta <ghane0@gmail.com> | 2013-11-25 15:20:49 +0800 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-25 04:49:31 -0500 |
commit | 8a9a4c7de7c5c1e7aca6067966987f92abe15bfe (patch) | |
tree | a8dde99e9c22d8fbf20627e29b3863c2076b0ad0 /leapsecond.py | |
parent | 14d3f01cc626f8ce0855789a1315b1ad20fd24b6 (diff) | |
download | gpsd-8a9a4c7de7c5c1e7aca6067966987f92abe15bfe.tar.gz |
Fix gnuplot syntax
I will go through all files that call gnuplot and check syntax
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'leapsecond.py')
-rwxr-xr-x | leapsecond.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/leapsecond.py b/leapsecond.py index 00976a18..09c28de5 100755 --- a/leapsecond.py +++ b/leapsecond.py @@ -282,8 +282,7 @@ def graph_history(filename): fmt += 'set format y "%Y-%m-%d"\n' fmt += 'set yrange ["%s":"%s"]\n' % (dates[0], dates[-1]) fmt += 'set key left top box\n' - fmt += 'set data style linespoints\n' - fmt += 'plot "-" using 1:3 title "Leap-second trend";\n' + fmt += 'plot "-" using 1:3 title "Leap-second trend" with linespoints ;\n' for (i, (r, d)) in enumerate(zip(raw, dates)): fmt += "%d\t%s\t%s\n" % (i, r, d) fmt += 'e\n' |