File:Leapsecond.ut1-utc.svg
Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.
Category:Files allowed to be overwritten by everyone
Summary
Description |
English: Plot showing the difference UT1−UTC in seconds. Vertical segments correspond to leap seconds. Red part of graph was prediction (future values) at the time the file was made.
Čeština: Graf zobrazující rozdíl UT1−UTC v sekundách. Svislé úseky odpovídají přestupným sekundám. Červená část je předpověď budoucích hodnot (v okamžiku vytvoření grafu). |
|||||
Date | ||||||
Source | Own work using: https://maia.usno.navy.mil/ser7/finals.all | |||||
Author |
Tomia (talk · contribs) Petr Kadlec (talk · contribs) Gordon P. Hemsley (talk · contribs) RP88 (talk · contribs) |
|||||
Permission (Reusing this file) |
|
|||||
Other versions |
|
|||||
SVG development |
Source code
Generated using the following scripts:
wget https://maia.usno.navy.mil/ser7/finals.all cut -c 1-2,3-4,5-6,8-15,58,59-68 --output-delimiter " " finals.all > finals-cut.txt grep "P" finals-cut.txt > finals-pred.txt grep "I" finals-cut.txt > finals-iers.txt gnuplot leapsecs.gnuplot
leapsecs.gnuplot
contains commands for gnuplot 6.0:
set xdata time set timefmt "%Y-%m-%d" set format x "%Y" set xrange ["1973-01-01":"2027-01-01"] set yrange [-0.9:0.9] set xtics "1970-01-01", 5 years set mxtics time 1 year set grid lt 3 lc 0 set terminal svg font "Arial,16" set style line 1 lc rgb 'dark-green' lt 1 set style line 2 lc rgb 'red' lt 1 unset key makedate(y,m,d,j) = sprintf("%04d-%02d-%02d", (j <= 51543 ? 1900 + y : 2000 + y), m, d) set output 'Leapsecond.ut1-utc.svg' plot \ 'finals-iers.txt' \ using (makedate($1,$2,$3,$4)):($6) \ with lines linestyle 1 title 'Measured', \ 'finals-pred.txt' \ using (makedate($1,$2,$3,$4)):($6) \ with lines linestyle 2 title 'Predicted' set outputCategory:Leap second Category:Black, green, white Category:Graphics Category:Images with Gnuplot source code Category:Images with BASH source code