[Git][NTPsec/ntpsec][master] remove excess precision in ytics.

Gary E. Miller gitlab at mg.gitlab.com
Thu Sep 8 06:49:32 UTC 2016


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


Commits:
cff5f967 by Gary E. Miller at 2016-09-07T23:49:02-07:00
remove excess precision in ytics.

- - - - -


1 changed file:

- ntpstats/ntpviz


Changes:

=====================================
ntpstats/ntpviz
=====================================
--- a/ntpstats/ntpviz
+++ b/ntpstats/ntpviz
@@ -130,7 +130,7 @@ set rmargin 12
 
         plot_template = NTPViz.Common + """\
 set title "%(sitename)s: Local Clock Time/Frequency Offsets"
-set ytics format "%%1.2f %(unit)s" nomirror textcolor rgb '#0060ad'
+set ytics format "%%1.0f %(unit)s" nomirror textcolor rgb '#0060ad'
 set y2tics format "%%2.3f ppm" nomirror textcolor rgb '#dd181f'
 set key bottom right box
 set style line 1 lc rgb '#0060ad' lt 1 lw 1 pt 7 ps 0   # --- blue
@@ -264,7 +264,7 @@ plot \
 
         plot_template = NTPViz.Common + """\
 set title "%(sitename)s: %(title)s"
-set ytics format "%%1.2f %(unit)s" nomirror
+set ytics format "%%1.0f %(unit)s" nomirror
 set key top right box
 set style line 1 lc rgb '#0060ad' lt 1 lw 1 pt 7 ps 0   # --- blue
 set style line 2 lc rgb '#dd181f' lt 1 lw 1 pt 5 ps 0   # --- red



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


More information about the vc mailing list