[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH] Fix gnuplot syntax
From: |
Sanjeev Gupta |
Subject: |
[gpsd-dev] [PATCH] Fix gnuplot syntax |
Date: |
Mon, 25 Nov 2013 15:20:49 +0800 |
I will go through all files that call gnuplot and check syntax
---
leapsecond.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/leapsecond.py b/leapsecond.py
index 00976a1..09c28de 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'
--
1.8.4.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-dev] [PATCH] Fix gnuplot syntax,
Sanjeev Gupta <=