diff options
author | Sanjeev Gupta <ghane0@gmail.com> | 2013-11-25 19:53:07 +0800 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-25 07:07:28 -0500 |
commit | 91566bde91b8867dbd21cf47788ec90b7ae8fd5a (patch) | |
tree | 660e8f6e2c4cf88d4514ca9d48ba49b500f66de7 /leapsecond.py | |
parent | 639999ec741315019ab15f4ed2d26b8a2fb3122a (diff) | |
download | gpsd-91566bde91b8867dbd21cf47788ec90b7ae8fd5a.tar.gz |
Gnuplot sample command lines
1. Minor typo in example
2. Added second example for thos with an X11-aware gnuplot
Diffstat (limited to 'leapsecond.py')
-rwxr-xr-x | leapsecond.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/leapsecond.py b/leapsecond.py index 286dc9d2..df6bf490 100755 --- a/leapsecond.py +++ b/leapsecond.py @@ -29,9 +29,11 @@ Options: -v be verbose -g generate a plot of the leap-second trend over time. The command you - probably want is something like + probably want is something like (depending on if your gnuplot install + does or does not support X11. - leapsecond.py -g leapsecond.cache | gnuplot -e 'set terminal svg' - | display + leapsecond.py -g leapseconds.cache | gnuplot --persist + leapsecond.py -g leapseconds.cache | gnuplot -e 'set terminal svg' - | display -n compute Unix gmt time for an IERS leap-second event given as a three-letter English Gregorian month abbreviation followed by a 4-digit year. |