[Git][NTPsec/ntpsec][master] ntpviz: kill off the blank spots at start/end of xrange.

Gary E. Miller gitlab at mg.gitlab.com
Tue Oct 11 23:20:18 UTC 2016


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
df938970 by Gary E. Miller at 2016-10-11T16:19:57-07:00
ntpviz: kill off the blank spots at start/end of xrange.

- - - - -


1 changed file:

- ntpstats/ntpviz


Changes:

=====================================
ntpstats/ntpviz
=====================================
--- a/ntpstats/ntpviz
+++ b/ntpstats/ntpviz
@@ -264,12 +264,14 @@ class NTPViz(NTPStats):
     # Python takes single quotes here. Since no % substitution
     Common = """\
 set terminal png size 900,650
-set xdata time
 set grid
+set autoscale xfixmin
+set autoscale xfixmax
+set xdata time
+set xtic rotate by -45 scale 0
 set xlabel "Time (DDMM hh:mm UTC)"
 set format x "%d%b %H:%M"
 set timefmt "%s"
-set xtic rotate by -45 scale 0
 set lmargin 12
 set rmargin 12
 """



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/df9389706bcd6085abea05ce55bb772e1e494449
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161011/d5afad2d/attachment.html>


More information about the vc mailing list