[Git][NTPsec/ntpsec][master] ntpviz: fix yrange in Clock Histogram

Gary E. Miller gitlab at mg.gitlab.com
Tue Nov 8 02:16:15 UTC 2016


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


Commits:
a9cc1e75 by Gary E. Miller at 2016-11-07T18:16:06-08:00
ntpviz: fix yrange in Clock Histogram

On a histogram with a lot of '1's the '1's would disappear.

- - - - -


1 changed file:

- ntpstats/ntpviz


Changes:

=====================================
ntpstats/ntpviz
=====================================
--- a/ntpstats/ntpviz
+++ b/ntpstats/ntpviz
@@ -1007,12 +1007,13 @@ set label 2 "+1σ" at %(p1sigma)s, graph 0.96  left front offset -1,-1
         # but leave some room for the browser frame
         plot_template = '''\
 set terminal png size %(size)s
+set title "%(sitename)s: Local Clock Time Offset Histogram%(clipped)s"
 set grid
 set boxwidth %(boxwidth)s
 set xtic rotate by -35 scale 0
-set title "%(sitename)s: Local Clock Time Offset Histogram%(clipped)s"
 set xtics format "%%1.1f %(unit)s" nomirror
 set xrange [%(min_x)s:%(max_x)s]
+set yrange [0:*]
 set style arrow 3 nohead
 set arrow from %(p99)s,graph 0 to %(p99)s,graph 0.30 as 3
 set style arrow 4 nohead



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


More information about the vc mailing list