File:Leapsecond.ut1-utc.svg

From Wikinfo

Jump to: navigation, search

Leapsecond.ut1-utc.svg (SVG file, nominally 600 × 480 pixels, file size: 132 KB)

This file does not display properly, please replace all instances with File:Leapsecond.ut1-utc.png.

Description
English: Plot showing the difference UT1UTC in seconds. Vertical segments correspond to leap seconds. Red part of graph was prediction (future values) at the time the file was made.
Česky: Graf zobrazující rozdíl UT1UTC 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).
Source

self-made with gnuplot using data file “finals.all” available from http://maia.usno.navy.mil/

Date

2009-04-08

Author

commons:User:Tomia, Petr Kadlec

Permission

see below

Other versions Image:Leapsecond.ut1-utc.png (slightly reworked version that is now out of date at: Image:Leap second history.svg)
The source code of this SVG was considered valid by Wikipedia. However, it's been disproved on Wikinfo.

Licensing:

I, the author of this work, hereby publish it under the following license:
Public domain
This image is ineligible for copyright and therefore is in the public domain, because it consists entirely of information that is common property and contains no original authorship.


Source code

Generated using the following scripts:

wget http://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:

set xdata time
set timefmt "%d/%m/%Y"
set format x "%Y"
set xrange ["01/05/1984":"01/05/2010"]
set yrange [-0.8:0.8]
set grid lt 3 lc 0
unset key
set terminal svg dashed
set output 'Leapsecond.ut1-utc.svg'
plot 'finals-iers.txt' using (sprintf("%02.0f/%02.0f/%04.0f", $3, $2, ($4 <= 51543 ? 1900 + $1 : 2000 + $1))):($6) w l lt 1 lc 2 title 'Measured', 'finals-pred.txt' using (sprintf("%02.0f/%02.0f/%04.0f", $3, $2, ($4 <= 51543 ? 1900 + $1 : 2000 + $1))):($6) w l lt 1 lc 1 title 'Predicted'
set output
This page uses content from Wikipedia. The original article was at File:Leapsecond.ut1-utc.svg.
The list of authors can be seen in the page history. The text of this Wikinfo article is available under the GNU Free Documentation License and the Creative Commons Attribution-Share Alike 3.0 license.

English | Română | edit

File history

Click on a date/time to view the file as it appeared at that time.

(Latest | Earliest) View (newer 50) (older 50) (20 | 50 | 100 | 250 | 500)
Date/TimeThumbnailDimensionsUserComment
current14:53, 3 September 2009Thumbnail for version as of 14:53, 3 September 2009600×480 (132 KB)Anime addict (Talk | contribs)
(Latest | Earliest) View (newer 50) (older 50) (20 | 50 | 100 | 250 | 500)

The following 2 pages link to this file: