[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH 2/4] Leap seconds plotted as points.
From: |
Sanjeev Gupta |
Subject: |
[gpsd-dev] [PATCH 2/4] Leap seconds plotted as points. |
Date: |
Fri, 1 May 2015 23:40:29 +0800 |
There is no uniformity, hence a line linking points is misleading.
Also clarify Title, this is not TAI-UTC, but GPS-UTC.
---
leapsecond.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/leapsecond.py b/leapsecond.py
index 60e478e..38f03cd 100755
--- a/leapsecond.py
+++ b/leapsecond.py
@@ -302,7 +302,7 @@ def graph_history(filename):
fmt += 'lsq(x) = %s * x + %s\n' % (b, c)
fmt += '# Maximum residual error is %.2f weeks\n' % e
fmt += 'set autoscale\n'
- fmt += 'set ylabel "Leap second offset"\n'
+ fmt += 'set ylabel "GPS-UTC (s)"\n'
fmt += 'set yrange [0:%d]\n' % (len(dates) - 1)
fmt += 'set xlabel "Leap second date"\n'
fmt += 'set xtics rotate by 300\n'
@@ -311,7 +311,7 @@ def graph_history(filename):
fmt += 'set format x "%Y-%m-%d"\n'
fmt += 'set xrange ["%s":"%s"]\n' % (dates[0], dates[-1])
fmt += 'set key left top box\n'
- fmt += 'plot "-" using 3:1 title "Leap-second trend" with linespoints ;\n'
+ fmt += 'plot "-" using 3:1 title "Leap second inserted" with points ;\n'
for (i, (r, d)) in enumerate(zip(raw, dates)):
fmt += "%d\t%s\t%s\n" % (i, r, d)
fmt += 'e\n'
--
2.1.4
- [gpsd-dev] [PATCH 1/4] Change axis, time monotonic on X , leapsecond count on Y, Sanjeev Gupta, 2015/05/01
- [gpsd-dev] [PATCH 2/4] Leap seconds plotted as points.,
Sanjeev Gupta <=
- [gpsd-dev] [PATCH 3/4] Extend yrange, so that first and last points can be seen., Sanjeev Gupta, 2015/05/01
- [gpsd-dev] [PATCH 4/4] Extend xrange, so that first and last points can be seen., Sanjeev Gupta, 2015/05/01
- [gpsd-dev] Fwd: [PATCH 1/4] Change axis, time monotonic on X , leapsecond count on Y, Sanjeev Gupta, 2015/05/04