[Git][NTPsec/ntpsec][master] Fix sigma in histogram

Gary E. Miller gitlab at mg.gitlab.com
Fri Sep 2 06:18:01 UTC 2016


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


Commits:
926dda56 by Gary E. Miller at 2016-09-01T23:17:34-07:00
Fix sigma in histogram

- - - - -


1 changed file:

- ntpstats/ntpviz


Changes:

=====================================
ntpstats/ntpviz
=====================================
--- a/ntpstats/ntpviz
+++ b/ntpstats/ntpviz
@@ -372,8 +372,8 @@ plot \
         values_pstd = round( pstdev( values, mu=mu ) * 1000000, 3)
 
         # plus/minus of one sigma range
-        m1sigma = values_mean - (values_pstd / 2)
-        p1sigma = values_mean + (values_pstd / 2)
+        m1sigma = values_mean - values_pstd
+        p1sigma = values_mean + values_pstd
 
         ninetynine  = round( self.percentiles(99, values) * 1000000, 2)
         ninetyfive  = round( self.percentiles(95, values) * 1000000, 2)
@@ -410,8 +410,8 @@ set arrow from %(one)s,0 to %(one)s,graph 0.15 as 6
 set key off
 set lmargin 12
 set rmargin 12
-set label 1 "1σ" at %(m1sigma)s, graph 0.96  left front offset -1,-1
-set label 2 "1σ" at %(p1sigma)s, graph 0.96  left front offset -1,-1
+set label 1 "-1σ" at %(m1sigma)s, graph 0.96  left front offset -1,-1
+set label 2 "+1σ" at %(p1sigma)s, graph 0.96  left front offset -1,-1
 set label 3 "99%%" at %(ninetynine)s, graph 0.20  left front offset -1,-1
 set label 4 "95%%" at %(ninetyfive)s, graph 0.35  left front offset -1,-1
 set label 5 "1%%" at %(one)s, graph 0.20  left front offset -1,-1



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/926dda56d69741a7027d735bc2cf780883102233
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160902/57efcbac/attachment.html>


More information about the vc mailing list