瀏覽代碼

Recalibrate and fix compilation (by doing it locally)

Yentl Van Tendeloo 7 年之前
父節點
當前提交
ee056103c8

二進制
bootstrap/bootstrap.m.gz


+ 24 - 12
bootstrap/compiler.alc

@@ -38,19 +38,31 @@ Element function compile_code(code : String):
 		return construct_function_list(list)!
 
 Element function compile_model(code : String, metamodel : Element):
-	String port
-	port = ""
-	while (port == ""):
-		port = comm_connect("compiler")
-		sleep(0.5)
+	if (code == "__LOCAL__"):
+		Element list
+		Integer length
 
-	comm_set(port, "model")
+		list = list_create()
+		length = input()
 
-	Element list
-	list = generic_compile(code, port)
+		while (list_len(list) < length):
+			list_append(list, input())
+		
+		return construct_model_list(instantiate_model(metamodel), list)!
+	else:
+		String port
+		port = ""
+		while (port == ""):
+			port = comm_connect("compiler")
+			sleep(0.5)
 
-	if (element_eq(list, read_root())):
-		return read_root()!
+		comm_set(port, "model")
 
-	else:
-		return construct_model_list(instantiate_model(metamodel), list)!
+		Element list
+		list = generic_compile(code, port)
+
+		if (element_eq(list, read_root())):
+			return read_root()!
+
+		else:
+			return construct_model_list(instantiate_model(metamodel), list)!

+ 2 - 0
bootstrap/core_algorithm.alc

@@ -2455,6 +2455,8 @@ Void function user_function_skip_init(user_id : String):
 			cmd = "FAIL"
 		elif (cmd == "model_types"):
 			output(cmd_model_types(single_input("Model name?")))
+		elif (cmd == "echo"):
+			output(input())
 		else:
 			output("Unknown command: " + cmd)
 

+ 67 - 66
calibration/plot_create_dict.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_create_dict.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:01 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:34 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_create_dict.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:01 2017)
+  /CreationDate (Mon Dec 18 14:16:34 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -526,79 +530,90 @@ stroke
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1228 M
+854 1173 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1228 M
+770 1173 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 5000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1673 M
+854 1562 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1673 M
+770 1562 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 10000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2118 M
+854 1952 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2118 M
+770 1952 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 15000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2564 M
+854 2341 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2564 M
+770 2341 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 20000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 3009 M
+854 2731 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 3009 M
+770 2731 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 25000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 3454 M
+854 3120 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 3454 M
+770 3120 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 30000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
+854 3510 M
+63 0 V
+3150 0 R
+-63 0 V
+stroke
+770 3510 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 35000)]
+] -46.7 MRshow
+1.000 UL
+LTb
+LCb setrgbcolor
 854 3899 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
 770 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 35000)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 40000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
@@ -616,12 +631,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1313 783 M
+1390 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1313 699 M
+1390 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 5x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -630,12 +645,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1772 783 M
+1925 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1772 699 M
+1925 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -644,12 +659,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2231 783 M
+2461 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2231 699 M
+2461 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1.5x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -658,12 +673,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2690 783 M
+2996 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2690 699 M
+2996 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -672,12 +687,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3149 783 M
+3531 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-3149 699 M
+3531 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2.5x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -686,20 +701,6 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3608 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-3608 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 3x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
 4067 783 M
 0 63 V
 0 3053 R
@@ -707,7 +708,7 @@ LCb setrgbcolor
 stroke
 4067 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 3.5x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 3x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
@@ -715,7 +716,7 @@ grestore
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
 854 783 L
@@ -746,31 +747,31 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 996 783 142 2 BoxColFill
-1.000 1137 783 143 311 BoxColFill
-1.000 1279 783 142 2965 BoxColFill
-1.000 1420 783 143 2234 BoxColFill
-1.000 1562 783 142 1267 BoxColFill
-1.000 1703 783 143 79 BoxColFill
-1.000 1845 783 143 63 BoxColFill
-1.000 1987 783 142 22 BoxColFill
-1.000 2128 783 143 17 BoxColFill
-1.000 2270 783 142 27 BoxColFill
-1.000 2411 783 143 31 BoxColFill
-1.000 2553 783 142 58 BoxColFill
-1.000 2694 783 143 19 BoxColFill
-1.000 2836 783 142 30 BoxColFill
-1.000 2977 783 143 23 BoxColFill
-1.000 3119 783 143 69 BoxColFill
-1.000 3261 783 142 46 BoxColFill
-1.000 3402 783 143 80 BoxColFill
-1.000 3544 783 142 34 BoxColFill
+0.58 0.00 0.83 C 1.000 998 783 146 6 BoxColFill
+1.000 1143 783 145 533 BoxColFill
+1.000 1287 783 146 2887 BoxColFill
+1.000 1432 783 145 1591 BoxColFill
+1.000 1576 783 146 739 BoxColFill
+1.000 1721 783 145 178 BoxColFill
+1.000 1865 783 145 32 BoxColFill
+1.000 2009 783 146 31 BoxColFill
+1.000 2154 783 145 16 BoxColFill
+1.000 2298 783 146 20 BoxColFill
+1.000 2443 783 145 43 BoxColFill
+1.000 2587 783 146 25 BoxColFill
+1.000 2732 783 145 26 BoxColFill
+1.000 2876 783 145 25 BoxColFill
+1.000 3020 783 146 18 BoxColFill
+1.000 3165 783 145 43 BoxColFill
+1.000 3309 783 146 47 BoxColFill
+1.000 3454 783 145 31 BoxColFill
+1.000 3598 783 145 51 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
 854 783 L

+ 54 - 115
calibration/plot_create_edge.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_create_edge.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:01 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:34 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_create_edge.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:01 2017)
+  /CreationDate (Mon Dec 18 14:16:34 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -526,90 +530,68 @@ stroke
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1173 M
+854 1302 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1173 M
+770 1302 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 5000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1562 M
+854 1822 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1562 M
+770 1822 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 10000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1952 M
+854 2341 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1952 M
+770 2341 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 15000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2341 M
+854 2860 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2341 M
+770 2860 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 20000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2731 M
+854 3380 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2731 M
+770 3380 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 25000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 3120 M
-63 0 V
-3150 0 R
--63 0 V
-stroke
-770 3120 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 30000)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
-854 3510 M
-63 0 V
-3150 0 R
--63 0 V
-stroke
-770 3510 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 35000)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
 854 3899 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
 770 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 40000)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 30000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
@@ -627,12 +609,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1175 783 M
+1313 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1175 699 M
+1313 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -641,12 +623,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1497 783 M
+1772 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1497 699 M
+1772 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -655,12 +637,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1818 783 M
+2231 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1818 699 M
+2231 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -669,12 +651,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2139 783 M
+2690 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2139 699 M
+2690 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -683,12 +665,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2461 783 M
+3149 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2461 699 M
+3149 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -697,12 +679,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2782 783 M
+3608 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2782 699 M
+3608 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1.2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -711,48 +693,6 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3103 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-3103 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.4x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
-3424 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-3424 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.6x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
-3746 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-3746 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.8x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
 4067 783 M
 0 63 V
 0 3053 R
@@ -760,7 +700,7 @@ LCb setrgbcolor
 stroke
 4067 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1.4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
@@ -768,7 +708,7 @@ grestore
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
 854 783 L
@@ -799,30 +739,29 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 1144 783 146 2 BoxColFill
-1.000 1289 783 146 1582 BoxColFill
-1.000 1434 783 145 2975 BoxColFill
-1.000 1578 783 146 1407 BoxColFill
-1.000 1723 783 146 290 BoxColFill
-1.000 1868 783 146 45 BoxColFill
-1.000 2013 783 146 17 BoxColFill
-1.000 2158 783 146 5 BoxColFill
-1.000 2303 783 146 18 BoxColFill
-1.000 2448 783 146 27 BoxColFill
-1.000 2593 783 146 49 BoxColFill
-1.000 2738 783 146 22 BoxColFill
-1.000 2883 783 145 13 BoxColFill
-1.000 3027 783 146 6 BoxColFill
-1.000 3172 783 146 9 BoxColFill
-1.000 3317 783 146 10 BoxColFill
-1.000 3462 783 146 10 BoxColFill
-1.000 3607 783 146 11 BoxColFill
+0.58 0.00 0.83 C 1.000 1010 783 157 171 BoxColFill
+1.000 1166 783 156 2473 BoxColFill
+1.000 1321 783 157 1516 BoxColFill
+1.000 1477 783 157 2880 BoxColFill
+1.000 1633 783 157 844 BoxColFill
+1.000 1945 783 157 163 BoxColFill
+1.000 2101 783 156 34 BoxColFill
+1.000 2256 783 157 7 BoxColFill
+1.000 2412 783 157 26 BoxColFill
+1.000 2568 783 157 24 BoxColFill
+1.000 2724 783 157 7 BoxColFill
+1.000 2880 783 156 26 BoxColFill
+1.000 3035 783 157 69 BoxColFill
+1.000 3347 783 157 23 BoxColFill
+1.000 3503 783 157 17 BoxColFill
+1.000 3659 783 157 8 BoxColFill
+1.000 3815 783 156 8 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
 854 783 L

+ 95 - 166
calibration/plot_create_node.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_create_node.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:00 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:34 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_create_node.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:00 2017)
+  /CreationDate (Mon Dec 18 14:16:34 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -515,290 +519,215 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C
 1.000 UL
 LTb
 LCb setrgbcolor
-854 783 M
+854 664 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 783 M
+770 664 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1095 M
+854 1203 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1095 M
+770 1203 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 5000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1406 M
+854 1742 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1406 M
+770 1742 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 10000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1718 M
+854 2282 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1718 M
+770 2282 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 15000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2029 M
+854 2821 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2029 M
+770 2821 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 20000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2341 M
+854 3360 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2341 M
+770 3360 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 25000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2653 M
-63 0 V
-3150 0 R
--63 0 V
-stroke
-770 2653 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 30000)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
-854 2964 M
-63 0 V
-3150 0 R
--63 0 V
-stroke
-770 2964 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 35000)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
-854 3276 M
-63 0 V
-3150 0 R
--63 0 V
-stroke
-770 3276 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 40000)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
-854 3587 M
-63 0 V
-3150 0 R
--63 0 V
-stroke
-770 3587 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 45000)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
 854 3899 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
 770 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 50000)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 30000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-854 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000001)]
-] -46.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
-1146 783 M
+854 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-1146 699 M
+854 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000002)]
-] -46.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
-1438 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-1438 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000003)]
-] -46.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
-1730 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-1730 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000004)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
 ] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2022 783 M
+1256 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2022 699 M
+1256 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000005)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2314 783 M
+1657 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2314 699 M
+1657 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000006)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2607 783 M
+2059 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2607 699 M
+2059 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000007)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 3x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2899 783 M
+2461 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2899 699 M
+2461 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000008)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3191 783 M
+2862 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3191 699 M
+2862 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000009)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 5x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3483 783 M
+3264 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3483 699 M
+3264 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000010)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3775 783 M
+3665 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3775 699 M
+3665 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000011)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 7x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-4067 783 M
+4067 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-4067 699 M
+4067 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000012)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
-854 783 L
+854 664 L
 3213 0 V
-0 3116 V
+0 3235 V
 -3213 0 V
 Z stroke
 1.000 UP
@@ -806,7 +735,7 @@ Z stroke
 LTb
 LCb setrgbcolor
 LCb setrgbcolor
-112 2341 M
+112 2281 M
 currentpoint gsave translate -270 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 (Frequency \(time\))]
 ] -46.7 MCshow
@@ -824,29 +753,29 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 1060 783 167 570 BoxColFill
-1.000 1393 783 167 2819 BoxColFill
-1.000 1559 783 167 247 BoxColFill
-1.000 1725 783 167 887 BoxColFill
-1.000 1891 783 167 57 BoxColFill
-1.000 2223 783 167 12 BoxColFill
-1.000 2556 783 167 11 BoxColFill
-1.000 2722 783 167 3 BoxColFill
-1.000 2888 783 167 3 BoxColFill
-1.000 3054 783 167 10 BoxColFill
-1.000 3386 783 167 16 BoxColFill
-1.000 3718 783 168 16 BoxColFill
+0.58 0.00 0.83 C 1.000 1138 664 143 1710 BoxColFill
+1.000 1280 664 143 433 BoxColFill
+1.000 1564 664 142 2989 BoxColFill
+1.000 1705 664 143 1953 BoxColFill
+1.000 1989 664 143 490 BoxColFill
+1.000 2273 664 143 9 BoxColFill
+1.000 2415 664 143 28 BoxColFill
+1.000 2699 664 143 2 BoxColFill
+1.000 2841 664 143 16 BoxColFill
+1.000 3124 664 143 8 BoxColFill
+1.000 3266 664 143 2 BoxColFill
+1.000 3550 664 143 5 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
-854 783 L
+854 664 L
 3213 0 V
-0 3116 V
+0 3235 V
 -3213 0 V
 Z stroke
 1.000 UP

+ 47 - 97
calibration/plot_create_nodevalue.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_create_nodevalue.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:01 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:34 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_create_nodevalue.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:01 2017)
+  /CreationDate (Mon Dec 18 14:16:34 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -526,79 +530,57 @@ stroke
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1228 M
+854 1406 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1228 M
+770 1406 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 5000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1673 M
+854 2029 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1673 M
+770 2029 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 10000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2118 M
+854 2653 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2118 M
+770 2653 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 15000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2564 M
+854 3276 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2564 M
+770 3276 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 20000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 3009 M
-63 0 V
-3150 0 R
--63 0 V
-stroke
-770 3009 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 25000)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
-854 3454 M
-63 0 V
-3150 0 R
--63 0 V
-stroke
-770 3454 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 30000)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
 854 3899 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
 770 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 35000)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 25000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
@@ -616,12 +598,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1256 783 M
+1390 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1256 699 M
+1390 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -630,12 +612,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1657 783 M
+1925 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1657 699 M
+1925 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -644,12 +626,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2059 783 M
+2461 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2059 699 M
+2461 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -658,12 +640,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2461 783 M
+2996 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2461 699 M
+2996 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -672,12 +654,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2862 783 M
+3532 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2862 699 M
+3532 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -686,34 +668,6 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3264 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-3264 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.2x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
-3665 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-3665 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.4x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
 4067 783 M
 0 63 V
 0 3053 R
@@ -721,7 +675,7 @@ LCb setrgbcolor
 stroke
 4067 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.6x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1.2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
@@ -729,7 +683,7 @@ grestore
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
 854 783 L
@@ -760,30 +714,26 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 1156 783 152 24 BoxColFill
-1.000 1307 783 152 758 BoxColFill
-1.000 1458 783 152 1070 BoxColFill
-1.000 1609 783 152 2909 BoxColFill
-1.000 1760 783 152 423 BoxColFill
-1.000 1911 783 152 31 BoxColFill
-1.000 2062 783 152 7 BoxColFill
-1.000 2213 783 152 18 BoxColFill
-1.000 2364 783 152 7 BoxColFill
-1.000 2515 783 152 2 BoxColFill
-1.000 2666 783 152 4 BoxColFill
-1.000 2817 783 152 6 BoxColFill
-1.000 2968 783 152 10 BoxColFill
-1.000 3119 783 152 9 BoxColFill
-1.000 3270 783 152 5 BoxColFill
-1.000 3421 783 152 13 BoxColFill
-1.000 3572 783 152 13 BoxColFill
-1.000 3723 783 152 15 BoxColFill
+0.58 0.00 0.83 C 1.000 992 783 138 208 BoxColFill
+1.000 1129 783 139 56 BoxColFill
+1.000 1267 783 139 2914 BoxColFill
+1.000 1405 783 138 1929 BoxColFill
+1.000 1542 783 139 714 BoxColFill
+1.000 1680 783 139 1033 BoxColFill
+1.000 1818 783 138 126 BoxColFill
+1.000 2093 783 139 17 BoxColFill
+1.000 2368 783 139 9 BoxColFill
+1.000 2506 783 139 3 BoxColFill
+1.000 2644 783 138 7 BoxColFill
+1.000 2919 783 139 10 BoxColFill
+1.000 3194 783 139 11 BoxColFill
+1.000 3470 783 138 25 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
 854 783 L

+ 60 - 117
calibration/plot_delete_edge.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_delete_edge.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:01 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:34 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_delete_edge.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:01 2017)
+  /CreationDate (Mon Dec 18 14:16:34 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -526,57 +530,35 @@ stroke
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1129 M
+854 1302 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1129 M
+770 1302 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1475 M
-63 0 V
-3150 0 R
--63 0 V
-stroke
-770 1475 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 4000)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
 854 1822 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
 770 1822 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 6000)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
-854 2168 M
-63 0 V
-3150 0 R
--63 0 V
-stroke
-770 2168 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 8000)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 4000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2514 M
+854 2341 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2514 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 10000)]
+770 2341 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 6000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
@@ -587,29 +569,18 @@ LCb setrgbcolor
 -63 0 V
 stroke
 770 2860 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 12000)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
-854 3207 M
-63 0 V
-3150 0 R
--63 0 V
-stroke
-770 3207 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 14000)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 8000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 3553 M
+854 3380 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 3553 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 16000)]
+770 3380 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 10000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
@@ -620,7 +591,7 @@ LCb setrgbcolor
 -63 0 V
 stroke
 770 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 18000)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 12000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
@@ -638,12 +609,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1146 783 M
+1211 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1146 699 M
+1211 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -652,12 +623,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1438 783 M
+1568 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1438 699 M
+1568 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -666,12 +637,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1730 783 M
+1925 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1730 699 M
+1925 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -680,12 +651,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2022 783 M
+2282 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2022 699 M
+2282 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -694,12 +665,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2314 783 M
+2639 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2314 699 M
+2639 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -708,12 +679,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2607 783 M
+2996 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2607 699 M
+2996 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1.2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -722,12 +693,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2899 783 M
+3353 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2899 699 M
+3353 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1.4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -736,12 +707,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3191 783 M
+3710 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-3191 699 M
+3710 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1.6x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -750,34 +721,6 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3483 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-3483 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.8x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
-3775 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-3775 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
 4067 783 M
 0 63 V
 0 3053 R
@@ -785,7 +728,7 @@ LCb setrgbcolor
 stroke
 4067 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 2.2x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1.8x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
@@ -793,7 +736,7 @@ grestore
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
 854 783 L
@@ -824,31 +767,31 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 1004 783 150 390 BoxColFill
-1.000 1153 783 151 1115 BoxColFill
-1.000 1303 783 151 2650 BoxColFill
-1.000 1453 783 151 2836 BoxColFill
-1.000 1603 783 150 1022 BoxColFill
-1.000 1752 783 151 429 BoxColFill
-1.000 1902 783 151 81 BoxColFill
-1.000 2052 783 150 56 BoxColFill
-1.000 2201 783 151 42 BoxColFill
-1.000 2351 783 151 53 BoxColFill
-1.000 2501 783 150 54 BoxColFill
-1.000 2650 783 151 58 BoxColFill
-1.000 2800 783 151 47 BoxColFill
-1.000 2950 783 151 49 BoxColFill
-1.000 3100 783 150 57 BoxColFill
-1.000 3249 783 151 77 BoxColFill
-1.000 3399 783 151 73 BoxColFill
-1.000 3549 783 150 45 BoxColFill
-1.000 3698 783 151 46 BoxColFill
+0.58 0.00 0.83 C 1.000 1008 783 155 1652 BoxColFill
+1.000 1162 783 155 2942 BoxColFill
+1.000 1316 783 155 2660 BoxColFill
+1.000 1470 783 155 3099 BoxColFill
+1.000 1624 783 155 1228 BoxColFill
+1.000 1778 783 154 336 BoxColFill
+1.000 1931 783 155 71 BoxColFill
+1.000 2085 783 155 111 BoxColFill
+1.000 2239 783 155 79 BoxColFill
+1.000 2393 783 155 110 BoxColFill
+1.000 2547 783 155 153 BoxColFill
+1.000 2701 783 155 126 BoxColFill
+1.000 2855 783 155 81 BoxColFill
+1.000 3009 783 155 83 BoxColFill
+1.000 3163 783 155 40 BoxColFill
+1.000 3317 783 155 103 BoxColFill
+1.000 3471 783 155 123 BoxColFill
+1.000 3625 783 154 80 BoxColFill
+1.000 3778 783 155 64 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
 854 783 L

+ 89 - 99
calibration/plot_delete_node.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_delete_node.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:01 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:34 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_delete_node.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:01 2017)
+  /CreationDate (Mon Dec 18 14:16:34 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -515,229 +519,211 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C
 1.000 UL
 LTb
 LCb setrgbcolor
-686 723 M
+686 783 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 723 M
+602 783 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 1120 M
+686 1302 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 1120 M
+602 1302 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 50)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 1517 M
+686 1822 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 1517 M
+602 1822 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 100)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 1914 M
+686 2341 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 1914 M
+602 2341 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 150)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 2311 M
+686 2860 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 2311 M
+602 2860 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 200)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 2708 M
+686 3380 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 2708 M
+602 3380 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 250)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 3105 M
-63 0 V
-3318 0 R
--63 0 V
-stroke
-602 3105 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 300)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
-686 3502 M
-63 0 V
-3318 0 R
--63 0 V
-stroke
-602 3502 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 350)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
 686 3899 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
 602 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 400)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 300)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 723 M
+686 783 M
 0 63 V
-0 3113 R
+0 3053 R
 0 -63 V
 stroke
-686 639 M
+686 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00001)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
 ] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1109 723 M
+1109 783 M
 0 63 V
-0 3113 R
+0 3053 R
 0 -63 V
 stroke
-1109 639 M
+1109 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00002)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-5)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1531 723 M
+1531 783 M
 0 63 V
-0 3113 R
+0 3053 R
 0 -63 V
 stroke
-1531 639 M
+1531 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00003)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-5)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1954 723 M
+1954 783 M
 0 63 V
-0 3113 R
+0 3053 R
 0 -63 V
 stroke
-1954 639 M
+1954 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00004)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-5)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2377 723 M
+2377 783 M
 0 63 V
-0 3113 R
+0 3053 R
 0 -63 V
 stroke
-2377 639 M
+2377 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00005)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-5)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2799 723 M
+2799 783 M
 0 63 V
-0 3113 R
+0 3053 R
 0 -63 V
 stroke
-2799 639 M
+2799 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00006)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 0.0001)]
 ] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3222 723 M
+3222 783 M
 0 63 V
-0 3113 R
+0 3053 R
 0 -63 V
 stroke
-3222 639 M
+3222 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00007)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 0.00012)]
 ] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3644 723 M
+3644 783 M
 0 63 V
-0 3113 R
+0 3053 R
 0 -63 V
 stroke
-3644 639 M
+3644 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00008)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 0.00014)]
 ] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-4067 723 M
+4067 783 M
 0 63 V
-0 3113 R
+0 3053 R
 0 -63 V
 stroke
-4067 639 M
+4067 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00009)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 0.00016)]
 ] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 686 3899 N
-686 723 L
+686 783 L
 3381 0 V
-0 3176 V
+0 3116 V
 -3381 0 V
 Z stroke
 1.000 UP
@@ -745,7 +731,7 @@ Z stroke
 LTb
 LCb setrgbcolor
 LCb setrgbcolor
-112 2311 M
+112 2341 M
 currentpoint gsave translate -270 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 (Frequency \(time\))]
 ] -46.7 MCshow
@@ -763,27 +749,31 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 866 723 303 17 BoxColFill
-1.000 1168 723 302 986 BoxColFill
-1.000 1469 723 303 3177 BoxColFill
-1.000 1771 723 302 1192 BoxColFill
-1.000 2072 723 303 597 BoxColFill
-1.000 2374 723 302 120 BoxColFill
-1.000 2675 723 303 223 BoxColFill
-1.000 2977 723 302 136 BoxColFill
-1.000 3278 723 303 65 BoxColFill
-1.000 3580 723 302 41 BoxColFill
+0.58 0.00 0.83 C 1.000 849 783 164 333 BoxColFill
+1.000 1012 783 164 873 BoxColFill
+1.000 1175 783 165 1943 BoxColFill
+1.000 1339 783 164 3013 BoxColFill
+1.000 1502 783 164 1320 BoxColFill
+1.000 1665 783 164 323 BoxColFill
+1.000 1828 783 164 261 BoxColFill
+1.000 1991 783 164 209 BoxColFill
+1.000 2154 783 165 167 BoxColFill
+1.000 2318 783 164 63 BoxColFill
+1.000 2481 783 164 32 BoxColFill
+1.000 2644 783 164 22 BoxColFill
+1.000 3296 783 165 11 BoxColFill
+1.000 3623 783 164 11 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 686 3899 N
-686 723 L
+686 783 L
 3381 0 V
-0 3176 V
+0 3116 V
 -3381 0 V
 Z stroke
 1.000 UP

+ 141 - 86
calibration/plot_read_dict.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_read_dict.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:27:59 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:33 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_read_dict.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:27:59 2017)
+  /CreationDate (Mon Dec 18 14:16:33 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -515,101 +519,112 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C
 1.000 UL
 LTb
 LCb setrgbcolor
-938 783 M
+938 664 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 783 M
+854 664 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 1129 M
+938 988 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 1129 M
+854 988 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 10000)]
+] -46.7 MRshow
+1.000 UL
+LTb
+LCb setrgbcolor
+938 1311 M
+63 0 V
+3066 0 R
+-63 0 V
+stroke
+854 1311 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 20000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 1475 M
+938 1635 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 1475 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 40000)]
+854 1635 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 30000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 1822 M
+938 1958 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 1822 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 60000)]
+854 1958 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 40000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 2168 M
+938 2282 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 2168 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 80000)]
+854 2282 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 50000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 2514 M
+938 2605 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 2514 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 100000)]
+854 2605 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 60000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 2860 M
+938 2929 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 2860 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 120000)]
+854 2929 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 70000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 3207 M
+938 3252 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 3207 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 140000)]
+854 3252 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 80000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 3553 M
+938 3575 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 3553 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 160000)]
+854 3575 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 90000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
@@ -620,17 +635,17 @@ LCb setrgbcolor
 -63 0 V
 stroke
 854 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 180000)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 100000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 783 M
+938 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-938 699 M
+938 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
 ] -46.7 MLshow
@@ -638,12 +653,26 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1385 783 M
+1251 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-1385 699 M
+1251 580 M
+currentpoint gsave translate -45 rotate 0 0 moveto
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
+grestore
+1.000 UL
+LTb
+LCb setrgbcolor
+1564 664 M
+0 63 V
+0 3172 R
+0 -63 V
+stroke
+1564 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -652,12 +681,26 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1832 783 M
+1877 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-1832 699 M
+1877 580 M
+currentpoint gsave translate -45 rotate 0 0 moveto
+[ [(Helvetica) 140.0 0.0 true true 0 ( 3x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
+grestore
+1.000 UL
+LTb
+LCb setrgbcolor
+2190 664 M
+0 63 V
+0 3172 R
+0 -63 V
+stroke
+2190 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -666,12 +709,26 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2279 783 M
+2503 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2279 699 M
+2503 580 M
+currentpoint gsave translate -45 rotate 0 0 moveto
+[ [(Helvetica) 140.0 0.0 true true 0 ( 5x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
+grestore
+1.000 UL
+LTb
+LCb setrgbcolor
+2815 664 M
+0 63 V
+0 3172 R
+0 -63 V
+stroke
+2815 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -680,56 +737,56 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2726 783 M
+3128 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2726 699 M
+3128 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 7x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3173 783 M
+3441 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3173 699 M
+3441 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3620 783 M
+3754 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3620 699 M
+3754 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.2x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 9x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-4067 783 M
+4067 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-4067 699 M
+4067 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.4x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
@@ -737,12 +794,12 @@ grestore
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 938 3899 N
-938 783 L
+938 664 L
 3129 0 V
-0 3116 V
+0 3235 V
 -3129 0 V
 Z stroke
 1.000 UP
@@ -750,7 +807,7 @@ Z stroke
 LTb
 LCb setrgbcolor
 LCb setrgbcolor
-112 2341 M
+112 2281 M
 currentpoint gsave translate -270 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 (Frequency \(time\))]
 ] -46.7 MCshow
@@ -768,33 +825,31 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 1247 783 155 75 BoxColFill
-1.000 1401 783 155 48 BoxColFill
-1.000 1555 783 155 2025 BoxColFill
-1.000 1709 783 156 2817 BoxColFill
-1.000 1864 783 155 27 BoxColFill
-1.000 2018 783 155 932 BoxColFill
-1.000 2172 783 155 202 BoxColFill
-1.000 2481 783 155 54 BoxColFill
-1.000 2635 783 155 17 BoxColFill
-1.000 2789 783 155 3 BoxColFill
-1.000 2943 783 156 8 BoxColFill
-1.000 3098 783 155 11 BoxColFill
-1.000 3252 783 155 8 BoxColFill
-1.000 3406 783 155 2 BoxColFill
-1.000 3560 783 156 10 BoxColFill
-1.000 3715 783 155 10 BoxColFill
+0.58 0.00 0.83 C 1.000 1090 664 154 313 BoxColFill
+1.000 1243 664 153 78 BoxColFill
+1.000 1395 664 154 3152 BoxColFill
+1.000 1548 664 153 2022 BoxColFill
+1.000 1700 664 154 1595 BoxColFill
+1.000 1853 664 153 2228 BoxColFill
+1.000 2005 664 154 194 BoxColFill
+1.000 2158 664 153 672 BoxColFill
+1.000 2310 664 153 8 BoxColFill
+1.000 2462 664 154 209 BoxColFill
+1.000 2767 664 154 56 BoxColFill
+1.000 3072 664 154 24 BoxColFill
+1.000 3377 664 153 18 BoxColFill
+1.000 3682 664 153 14 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 938 3899 N
-938 783 L
+938 664 L
 3129 0 V
-0 3116 V
+0 3235 V
 -3129 0 V
 Z stroke
 1.000 UP

+ 93 - 84
calibration/plot_read_dict_edge.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_read_dict_edge.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:00 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:33 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_read_dict_edge.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:00 2017)
+  /CreationDate (Mon Dec 18 14:16:33 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -526,79 +530,112 @@ stroke
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1228 M
+854 1095 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1228 M
+770 1095 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1673 M
+854 1406 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1673 M
+770 1406 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 4000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2118 M
+854 1718 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2118 M
+770 1718 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 6000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2564 M
+854 2029 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2564 M
+770 2029 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 8000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 3009 M
+854 2341 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 3009 M
+770 2341 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 10000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 3454 M
+854 2653 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 3454 M
+770 2653 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 12000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
+854 2964 M
+63 0 V
+3150 0 R
+-63 0 V
+stroke
+770 2964 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 14000)]
+] -46.7 MRshow
+1.000 UL
+LTb
+LCb setrgbcolor
+854 3276 M
+63 0 V
+3150 0 R
+-63 0 V
+stroke
+770 3276 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 16000)]
+] -46.7 MRshow
+1.000 UL
+LTb
+LCb setrgbcolor
+854 3587 M
+63 0 V
+3150 0 R
+-63 0 V
+stroke
+770 3587 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 18000)]
+] -46.7 MRshow
+1.000 UL
+LTb
+LCb setrgbcolor
 854 3899 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
 770 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 14000)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 20000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
@@ -616,12 +653,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1175 783 M
+1256 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1175 699 M
+1256 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -630,12 +667,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1497 783 M
+1657 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1497 699 M
+1657 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -644,12 +681,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1818 783 M
+2059 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1818 699 M
+2059 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -658,12 +695,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2139 783 M
+2461 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2139 699 M
+2461 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -672,12 +709,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2461 783 M
+2862 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2461 699 M
+2862 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -686,12 +723,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2782 783 M
+3264 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2782 699 M
+3264 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1.2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -700,12 +737,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3103 783 M
+3665 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-3103 699 M
+3665 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1.4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -714,34 +751,6 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3424 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-3424 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.6x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
-3746 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-3746 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.8x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
 4067 783 M
 0 63 V
 0 3053 R
@@ -749,7 +758,7 @@ LCb setrgbcolor
 stroke
 4067 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1.6x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
@@ -757,7 +766,7 @@ grestore
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
 854 783 L
@@ -788,31 +797,31 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 1009 783 156 62 BoxColFill
-1.000 1164 783 156 1220 BoxColFill
-1.000 1319 783 155 2537 BoxColFill
-1.000 1473 783 156 2691 BoxColFill
-1.000 1628 783 156 1239 BoxColFill
-1.000 1783 783 156 444 BoxColFill
-1.000 1938 783 156 122 BoxColFill
-1.000 2093 783 156 51 BoxColFill
-1.000 2248 783 155 47 BoxColFill
-1.000 2402 783 156 48 BoxColFill
-1.000 2557 783 156 35 BoxColFill
-1.000 2712 783 156 32 BoxColFill
-1.000 2867 783 156 36 BoxColFill
-1.000 3022 783 156 61 BoxColFill
-1.000 3177 783 155 81 BoxColFill
-1.000 3331 783 156 97 BoxColFill
-1.000 3486 783 156 90 BoxColFill
-1.000 3641 783 156 99 BoxColFill
-1.000 3796 783 156 97 BoxColFill
+0.58 0.00 0.83 C 1.000 1006 783 152 325 BoxColFill
+1.000 1157 783 153 3047 BoxColFill
+1.000 1309 783 152 790 BoxColFill
+1.000 1460 783 153 1099 BoxColFill
+1.000 1612 783 152 437 BoxColFill
+1.000 1763 783 153 94 BoxColFill
+1.000 1915 783 152 31 BoxColFill
+1.000 2066 783 153 8 BoxColFill
+1.000 2218 783 152 33 BoxColFill
+1.000 2369 783 153 29 BoxColFill
+1.000 2521 783 152 10 BoxColFill
+1.000 2672 783 153 33 BoxColFill
+1.000 2824 783 152 31 BoxColFill
+1.000 2975 783 153 19 BoxColFill
+1.000 3127 783 152 17 BoxColFill
+1.000 3278 783 153 9 BoxColFill
+1.000 3430 783 152 69 BoxColFill
+1.000 3581 783 153 90 BoxColFill
+1.000 3733 783 152 67 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
 854 783 L

+ 122 - 100
calibration/plot_read_dict_keys.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_read_dict_keys.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:27:59 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:33 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_read_dict_keys.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:27:59 2017)
+  /CreationDate (Mon Dec 18 14:16:33 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -515,105 +519,124 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C
 1.000 UL
 LTb
 LCb setrgbcolor
-770 783 M
+686 664 M
 63 0 V
-3234 0 R
+3318 0 R
 -63 0 V
 stroke
-686 783 M
+602 664 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 1406 M
+686 1068 M
 63 0 V
-3234 0 R
+3318 0 R
 -63 0 V
 stroke
-686 1406 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 500)]
+602 1068 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 20)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 2029 M
+686 1473 M
 63 0 V
-3234 0 R
+3318 0 R
 -63 0 V
 stroke
-686 2029 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1000)]
+602 1473 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 40)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 2653 M
+686 1877 M
 63 0 V
-3234 0 R
+3318 0 R
 -63 0 V
 stroke
-686 2653 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1500)]
+602 1877 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 60)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 3276 M
+686 2282 M
 63 0 V
-3234 0 R
+3318 0 R
 -63 0 V
 stroke
-686 3276 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 2000)]
+602 2282 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 80)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 3899 M
+686 2686 M
 63 0 V
-3234 0 R
+3318 0 R
 -63 0 V
 stroke
-686 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 2500)]
+602 2686 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 100)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 783 M
-0 63 V
-0 3053 R
-0 -63 V
+686 3090 M
+63 0 V
+3318 0 R
+-63 0 V
 stroke
-770 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
-] -46.7 MLshow
-grestore
+602 3090 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 120)]
+] -46.7 MRshow
+1.000 UL
+LTb
+LCb setrgbcolor
+686 3495 M
+63 0 V
+3318 0 R
+-63 0 V
+stroke
+602 3495 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 140)]
+] -46.7 MRshow
+1.000 UL
+LTb
+LCb setrgbcolor
+686 3899 M
+63 0 V
+3318 0 R
+-63 0 V
+stroke
+602 3899 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 160)]
+] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-1182 783 M
+686 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-1182 699 M
+686 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 5x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-6)]
-] -60.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
+] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1594 783 M
+1169 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-1594 699 M
+1169 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -622,84 +645,84 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2006 783 M
+1652 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2006 699 M
+1652 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.5x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2419 783 M
+2135 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2419 699 M
+2135 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 3x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2831 783 M
+2618 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2831 699 M
+2618 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 2.5x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3243 783 M
+3101 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3243 699 M
+3101 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 3x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 5x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3655 783 M
+3584 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3655 699 M
+3584 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 3.5x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-4067 783 M
+4067 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-4067 699 M
+4067 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 7x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
@@ -707,62 +730,61 @@ grestore
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
-770 3899 N
-770 783 L
-3297 0 V
-0 3116 V
--3297 0 V
+686 3899 N
+686 664 L
+3381 0 V
+0 3235 V
+-3381 0 V
 Z stroke
 1.000 UP
 1.000 UL
 LTb
 LCb setrgbcolor
 LCb setrgbcolor
-112 2341 M
+112 2281 M
 currentpoint gsave translate -270 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 (Frequency \(time\))]
 ] -46.7 MCshow
 grestore
 LTb
 LCb setrgbcolor
-2418 98 M
+2376 98 M
 [ [(Helvetica) 140.0 0.0 true true 0 (Duration \(s\))]
 ] -46.7 MCshow
 LTb
 LCb setrgbcolor
-2418 4109 M
+2376 4109 M
 [ [(Helvetica) 140.0 0.0 true true 0 (Operation read_dict_keys)]
 ] -46.7 MCshow
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 977 783 209 185 BoxColFill
-1.000 1185 783 208 2812 BoxColFill
-1.000 1392 783 209 1646 BoxColFill
-1.000 1600 783 208 878 BoxColFill
-1.000 1807 783 209 395 BoxColFill
-1.000 2015 783 208 97 BoxColFill
-1.000 2222 783 209 306 BoxColFill
-1.000 2430 783 208 61 BoxColFill
-1.000 2637 783 209 31 BoxColFill
-1.000 2845 783 208 2 BoxColFill
-1.000 3052 783 209 5 BoxColFill
-1.000 3260 783 208 3 BoxColFill
-1.000 3467 783 209 2 BoxColFill
+0.58 0.00 0.83 C 1.000 1016 664 166 183 BoxColFill
+1.000 1181 664 166 365 BoxColFill
+1.000 1346 664 166 2104 BoxColFill
+1.000 1511 664 166 3196 BoxColFill
+1.000 1676 664 166 1821 BoxColFill
+1.000 1841 664 167 264 BoxColFill
+1.000 2007 664 166 62 BoxColFill
+1.000 2172 664 166 82 BoxColFill
+1.000 2337 664 166 21 BoxColFill
+1.000 2502 664 166 21 BoxColFill
+1.000 3162 664 166 41 BoxColFill
+1.000 3657 664 166 21 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
-770 3899 N
-770 783 L
-3297 0 V
-0 3116 V
--3297 0 V
+686 3899 N
+686 664 L
+3381 0 V
+0 3235 V
+-3381 0 V
 Z stroke
 1.000 UP
 1.000 UL

+ 54 - 74
calibration/plot_read_dict_node.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_read_dict_node.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:00 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:33 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_read_dict_node.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:00 2017)
+  /CreationDate (Mon Dec 18 14:16:33 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -526,79 +530,68 @@ stroke
 1.000 UL
 LTb
 LCb setrgbcolor
-770 1228 M
+770 1302 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
-686 1228 M
+686 1302 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 200)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 1673 M
+770 1822 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
-686 1673 M
+686 1822 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 400)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 2118 M
+770 2341 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
-686 2118 M
+686 2341 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 600)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 2564 M
+770 2860 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
-686 2564 M
+686 2860 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 800)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 3009 M
+770 3380 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
-686 3009 M
+686 3380 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 3454 M
-63 0 V
-3234 0 R
--63 0 V
-stroke
-686 3454 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1200)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
 770 3899 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
 686 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1400)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1200)]
 ] -46.7 MRshow
 1.000 UL
 LTb
@@ -616,12 +609,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1241 783 M
+1320 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1241 699 M
+1320 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 5x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -630,12 +623,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1712 783 M
+1869 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1712 699 M
+1869 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -644,12 +637,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2183 783 M
+2419 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2183 699 M
+2419 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1.5x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -658,12 +651,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2654 783 M
+2968 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2654 699 M
+2968 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -672,12 +665,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3125 783 M
+3517 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-3125 699 M
+3517 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2.5x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -686,20 +679,6 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3596 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-3596 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 3x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
 4067 783 M
 0 63 V
 0 3053 R
@@ -707,7 +686,7 @@ LCb setrgbcolor
 stroke
 4067 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 3.5x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 3x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
@@ -715,7 +694,7 @@ grestore
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 770 3899 N
 770 783 L
@@ -746,30 +725,31 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 1058 783 146 1285 BoxColFill
-1.000 1203 783 145 2754 BoxColFill
-1.000 1347 783 145 50 BoxColFill
-1.000 1491 783 145 135 BoxColFill
-1.000 1635 783 146 17 BoxColFill
-1.000 1780 783 145 8 BoxColFill
-1.000 1924 783 145 19 BoxColFill
-1.000 2068 783 145 208 BoxColFill
-1.000 2212 783 146 317 BoxColFill
-1.000 2357 783 145 560 BoxColFill
-1.000 2501 783 145 139 BoxColFill
-1.000 2645 783 145 190 BoxColFill
-1.000 2789 783 146 103 BoxColFill
-1.000 2934 783 145 132 BoxColFill
-1.000 3078 783 145 195 BoxColFill
-1.000 3222 783 145 57 BoxColFill
-1.000 3366 783 146 50 BoxColFill
-1.000 3511 783 145 28 BoxColFill
+0.58 0.00 0.83 C 1.000 916 783 147 518 BoxColFill
+1.000 1062 783 147 2948 BoxColFill
+1.000 1208 783 147 1349 BoxColFill
+1.000 1354 783 146 94 BoxColFill
+1.000 1499 783 147 17 BoxColFill
+1.000 1645 783 147 17 BoxColFill
+1.000 1791 783 147 6 BoxColFill
+1.000 1937 783 147 40 BoxColFill
+1.000 2083 783 147 146 BoxColFill
+1.000 2229 783 147 292 BoxColFill
+1.000 2375 783 147 455 BoxColFill
+1.000 2521 783 146 554 BoxColFill
+1.000 2666 783 147 154 BoxColFill
+1.000 2812 783 147 84 BoxColFill
+1.000 2958 783 147 128 BoxColFill
+1.000 3104 783 147 58 BoxColFill
+1.000 3250 783 147 107 BoxColFill
+1.000 3396 783 147 71 BoxColFill
+1.000 3542 783 147 22 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 770 3899 N
 770 783 L

+ 114 - 131
calibration/plot_read_edge.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_read_edge.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:01 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:34 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_read_edge.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:01 2017)
+  /CreationDate (Mon Dec 18 14:16:34 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -515,160 +519,144 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C
 1.000 UL
 LTb
 LCb setrgbcolor
-854 783 M
+770 664 M
 63 0 V
-3150 0 R
+3234 0 R
 -63 0 V
 stroke
-770 783 M
+686 664 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1095 M
+770 1203 M
 63 0 V
-3150 0 R
+3234 0 R
 -63 0 V
 stroke
-770 1095 M
+686 1203 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1406 M
+770 1742 M
 63 0 V
-3150 0 R
+3234 0 R
 -63 0 V
 stroke
-770 1406 M
+686 1742 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1718 M
+770 2282 M
 63 0 V
-3150 0 R
+3234 0 R
 -63 0 V
 stroke
-770 1718 M
+686 2282 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 3000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2029 M
+770 2821 M
 63 0 V
-3150 0 R
+3234 0 R
 -63 0 V
 stroke
-770 2029 M
+686 2821 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 4000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2341 M
+770 3360 M
 63 0 V
-3150 0 R
+3234 0 R
 -63 0 V
 stroke
-770 2341 M
+686 3360 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 5000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2653 M
+770 3899 M
 63 0 V
-3150 0 R
+3234 0 R
 -63 0 V
 stroke
-770 2653 M
+686 3899 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 6000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2964 M
-63 0 V
-3150 0 R
--63 0 V
-stroke
-770 2964 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 7000)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
-854 3276 M
-63 0 V
-3150 0 R
--63 0 V
-stroke
-770 3276 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 8000)]
-] -46.7 MRshow
-1.000 UL
-LTb
-LCb setrgbcolor
-854 3587 M
-63 0 V
-3150 0 R
--63 0 V
+770 664 M
+0 63 V
+0 3172 R
+0 -63 V
 stroke
-770 3587 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 9000)]
-] -46.7 MRshow
+770 580 M
+currentpoint gsave translate -45 rotate 0 0 moveto
+[ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
+] -46.7 MLshow
+grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-854 3899 M
-63 0 V
-3150 0 R
--63 0 V
+1136 664 M
+0 63 V
+0 3172 R
+0 -63 V
 stroke
-770 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 10000)]
-] -46.7 MRshow
+1136 580 M
+currentpoint gsave translate -45 rotate 0 0 moveto
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
+grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-854 783 M
+1503 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-854 699 M
+1503 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1313 783 M
+1869 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-1313 699 M
+1869 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 3x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1772 783 M
+2235 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-1772 699 M
+2235 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -677,137 +665,132 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2231 783 M
+2602 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2231 699 M
+2602 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 5x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2690 783 M
+2968 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2690 699 M
+2968 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3149 783 M
+3334 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3149 699 M
+3334 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 7x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3608 783 M
+3701 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3608 699 M
+3701 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.2x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-4067 783 M
+4067 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-4067 699 M
+4067 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.4x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 9x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
-854 3899 N
-854 783 L
-3213 0 V
-0 3116 V
--3213 0 V
+770 3899 N
+770 664 L
+3297 0 V
+0 3235 V
+-3297 0 V
 Z stroke
 1.000 UP
 1.000 UL
 LTb
 LCb setrgbcolor
 LCb setrgbcolor
-112 2341 M
+112 2281 M
 currentpoint gsave translate -270 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 (Frequency \(time\))]
 ] -46.7 MCshow
 grestore
 LTb
 LCb setrgbcolor
-2460 98 M
+2418 98 M
 [ [(Helvetica) 140.0 0.0 true true 0 (Duration \(s\))]
 ] -46.7 MCshow
 LTb
 LCb setrgbcolor
-2460 4109 M
+2418 4109 M
 [ [(Helvetica) 140.0 0.0 true true 0 (Operation read_edge)]
 ] -46.7 MCshow
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 1163 783 156 115 BoxColFill
-1.000 1318 783 155 81 BoxColFill
-1.000 1472 783 156 2923 BoxColFill
-1.000 1627 783 156 239 BoxColFill
-1.000 1782 783 155 786 BoxColFill
-1.000 1936 783 156 26 BoxColFill
-1.000 2091 783 156 81 BoxColFill
-1.000 2246 783 155 14 BoxColFill
-1.000 2400 783 156 43 BoxColFill
-1.000 2555 783 155 3 BoxColFill
-1.000 2709 783 156 3 BoxColFill
-1.000 2864 783 156 5 BoxColFill
-1.000 3019 783 155 29 BoxColFill
-1.000 3328 783 156 41 BoxColFill
-1.000 3483 783 155 13 BoxColFill
-1.000 3637 783 156 11 BoxColFill
-1.000 3792 783 155 28 BoxColFill
+0.58 0.00 0.83 C 1.000 1084 664 158 1558 BoxColFill
+1.000 1398 664 158 3234 BoxColFill
+1.000 1555 664 159 2049 BoxColFill
+1.000 1713 664 158 147 BoxColFill
+1.000 1870 664 158 230 BoxColFill
+1.000 2027 664 158 3 BoxColFill
+1.000 2184 664 158 9 BoxColFill
+1.000 2498 664 158 151 BoxColFill
+1.000 2812 664 158 60 BoxColFill
+1.000 2969 664 158 16 BoxColFill
+1.000 3283 664 158 5 BoxColFill
+1.000 3598 664 158 11 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
-854 3899 N
-854 783 L
-3213 0 V
-0 3116 V
--3213 0 V
+770 3899 N
+770 664 L
+3297 0 V
+0 3235 V
+-3297 0 V
 Z stroke
 1.000 UP
 1.000 UL

+ 85 - 73
calibration/plot_read_incoming.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_read_incoming.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:01 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:34 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_read_incoming.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:01 2017)
+  /CreationDate (Mon Dec 18 14:16:34 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -526,90 +530,112 @@ stroke
 1.000 UL
 LTb
 LCb setrgbcolor
-770 1173 M
+770 1095 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
-686 1173 M
+686 1095 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 500)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 1562 M
+770 1406 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
-686 1562 M
+686 1406 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 1952 M
+770 1718 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
-686 1952 M
+686 1718 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1500)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 2341 M
+770 2029 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
-686 2341 M
+686 2029 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 2731 M
+770 2341 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
-686 2731 M
+686 2341 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2500)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 3120 M
+770 2653 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
-686 3120 M
+686 2653 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 3000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-770 3510 M
+770 2964 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
-686 3510 M
+686 2964 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 3500)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
+770 3276 M
+63 0 V
+3234 0 R
+-63 0 V
+stroke
+686 3276 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 4000)]
+] -46.7 MRshow
+1.000 UL
+LTb
+LCb setrgbcolor
+770 3587 M
+63 0 V
+3234 0 R
+-63 0 V
+stroke
+686 3587 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 4500)]
+] -46.7 MRshow
+1.000 UL
+LTb
+LCb setrgbcolor
 770 3899 M
 63 0 V
 3234 0 R
 -63 0 V
 stroke
 686 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 4000)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 5000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
@@ -627,12 +653,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1100 783 M
+1136 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1100 699 M
+1136 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -641,12 +667,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1429 783 M
+1503 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1429 699 M
+1503 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -655,12 +681,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1759 783 M
+1869 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-1759 699 M
+1869 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -669,12 +695,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2089 783 M
+2235 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2089 699 M
+2235 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -683,12 +709,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2419 783 M
+2602 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2419 699 M
+2602 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -697,12 +723,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2748 783 M
+2968 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-2748 699 M
+2968 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1.2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -711,12 +737,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3078 783 M
+3334 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-3078 699 M
+3334 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1.4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -725,12 +751,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3408 783 M
+3701 783 M
 0 63 V
 0 3053 R
 0 -63 V
 stroke
-3408 699 M
+3701 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1.6x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -739,20 +765,6 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3737 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-3737 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.8x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
 4067 783 M
 0 63 V
 0 3053 R
@@ -760,7 +772,7 @@ LCb setrgbcolor
 stroke
 4067 699 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1.8x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
@@ -768,7 +780,7 @@ grestore
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 770 3899 N
 770 783 L
@@ -799,30 +811,30 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 1089 783 161 1002 BoxColFill
-1.000 1249 783 161 2458 BoxColFill
-1.000 1409 783 161 2896 BoxColFill
-1.000 1569 783 160 383 BoxColFill
-1.000 1728 783 161 30 BoxColFill
-1.000 1888 783 161 26 BoxColFill
-1.000 2048 783 160 6 BoxColFill
-1.000 2207 783 161 6 BoxColFill
-1.000 2367 783 161 24 BoxColFill
-1.000 2527 783 161 16 BoxColFill
-1.000 2687 783 160 23 BoxColFill
-1.000 2846 783 161 49 BoxColFill
-1.000 3006 783 161 50 BoxColFill
-1.000 3166 783 160 36 BoxColFill
-1.000 3325 783 161 16 BoxColFill
-1.000 3485 783 161 8 BoxColFill
-1.000 3645 783 161 6 BoxColFill
-1.000 3805 783 160 10 BoxColFill
+0.58 0.00 0.83 C 1.000 920 783 151 58 BoxColFill
+1.000 1070 783 151 3029 BoxColFill
+1.000 1220 783 151 2167 BoxColFill
+1.000 1370 783 151 150 BoxColFill
+1.000 1670 783 151 15 BoxColFill
+1.000 1820 783 151 10 BoxColFill
+1.000 1970 783 151 5 BoxColFill
+1.000 2120 783 151 11 BoxColFill
+1.000 2270 783 151 13 BoxColFill
+1.000 2420 783 150 44 BoxColFill
+1.000 2569 783 151 66 BoxColFill
+1.000 2719 783 151 25 BoxColFill
+1.000 2869 783 151 17 BoxColFill
+1.000 3019 783 151 6 BoxColFill
+1.000 3169 783 151 7 BoxColFill
+1.000 3319 783 151 7 BoxColFill
+1.000 3469 783 151 5 BoxColFill
+1.000 3619 783 151 3 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 770 3899 N
 770 783 L

+ 121 - 82
calibration/plot_read_outgoing.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_read_outgoing.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:01 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:34 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_read_outgoing.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:01 2017)
+  /CreationDate (Mon Dec 18 14:16:34 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -515,100 +519,111 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C
 1.000 UL
 LTb
 LCb setrgbcolor
-854 783 M
+854 664 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 783 M
+770 664 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1228 M
+854 1068 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1228 M
+770 1068 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1673 M
+854 1473 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1673 M
+770 1473 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 4000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2118 M
+854 1877 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2118 M
+770 1877 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 6000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2564 M
+854 2282 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2564 M
+770 2282 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 8000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 3009 M
+854 2686 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 3009 M
+770 2686 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 10000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 3454 M
+854 3090 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 3454 M
+770 3090 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 12000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
+854 3495 M
+63 0 V
+3150 0 R
+-63 0 V
+stroke
+770 3495 M
+[ [(Helvetica) 140.0 0.0 true true 0 ( 14000)]
+] -46.7 MRshow
+1.000 UL
+LTb
+LCb setrgbcolor
 854 3899 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
 770 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 14000)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 16000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 783 M
+854 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-854 699 M
+854 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
 ] -46.7 MLshow
@@ -616,12 +631,26 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1256 783 M
+1175 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-1256 699 M
+1175 580 M
+currentpoint gsave translate -45 rotate 0 0 moveto
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
+grestore
+1.000 UL
+LTb
+LCb setrgbcolor
+1497 664 M
+0 63 V
+0 3172 R
+0 -63 V
+stroke
+1497 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -630,12 +659,26 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1657 783 M
+1818 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-1657 699 M
+1818 580 M
+currentpoint gsave translate -45 rotate 0 0 moveto
+[ [(Helvetica) 140.0 0.0 true true 0 ( 3x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
+grestore
+1.000 UL
+LTb
+LCb setrgbcolor
+2139 664 M
+0 63 V
+0 3172 R
+0 -63 V
+stroke
+2139 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -644,84 +687,84 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2059 783 M
+2461 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2059 699 M
+2461 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 5x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2461 783 M
+2782 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2461 699 M
+2782 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2862 783 M
+3103 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2862 699 M
+3103 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 7x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3264 783 M
+3424 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3264 699 M
+3424 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.2x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3665 783 M
+3746 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3665 699 M
+3746 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.4x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 9x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-4067 783 M
+4067 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-4067 699 M
+4067 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.6x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
@@ -729,12 +772,12 @@ grestore
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
-854 783 L
+854 664 L
 3213 0 V
-0 3116 V
+0 3235 V
 -3213 0 V
 Z stroke
 1.000 UP
@@ -742,7 +785,7 @@ Z stroke
 LTb
 LCb setrgbcolor
 LCb setrgbcolor
-112 2341 M
+112 2281 M
 currentpoint gsave translate -270 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 (Frequency \(time\))]
 ] -46.7 MCshow
@@ -760,34 +803,30 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 1168 783 157 1 BoxColFill
-1.000 1324 783 158 796 BoxColFill
-1.000 1481 783 158 889 BoxColFill
-1.000 1638 783 158 3073 BoxColFill
-1.000 1795 783 158 1602 BoxColFill
-1.000 1952 783 158 188 BoxColFill
-1.000 2109 783 157 21 BoxColFill
-1.000 2265 783 158 12 BoxColFill
-1.000 2422 783 158 19 BoxColFill
-1.000 2579 783 158 5 BoxColFill
-1.000 2736 783 158 2 BoxColFill
-1.000 3049 783 158 3 BoxColFill
-1.000 3206 783 158 3 BoxColFill
-1.000 3363 783 158 8 BoxColFill
-1.000 3520 783 158 5 BoxColFill
-1.000 3677 783 157 13 BoxColFill
-1.000 3833 783 158 22 BoxColFill
+0.58 0.00 0.83 C 1.000 1153 664 150 67 BoxColFill
+1.000 1452 664 150 3219 BoxColFill
+1.000 1751 664 150 2386 BoxColFill
+1.000 2050 664 150 279 BoxColFill
+1.000 2349 664 150 28 BoxColFill
+1.000 2648 664 150 7 BoxColFill
+1.000 2797 664 151 2 BoxColFill
+1.000 2947 664 150 4 BoxColFill
+1.000 3096 664 151 2 BoxColFill
+1.000 3246 664 150 1 BoxColFill
+1.000 3395 664 151 2 BoxColFill
+1.000 3545 664 150 1 BoxColFill
+1.000 3694 664 151 1 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
-854 783 L
+854 664 L
 3213 0 V
-0 3116 V
+0 3235 V
 -3213 0 V
 Z stroke
 1.000 UP

+ 98 - 79
calibration/plot_read_reverse_dict.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_read_reverse_dict.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:01 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:34 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_read_reverse_dict.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:01 2017)
+  /CreationDate (Mon Dec 18 14:16:34 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -515,203 +519,212 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C
 1.000 UL
 LTb
 LCb setrgbcolor
-686 723 M
+686 664 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 723 M
+602 664 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 1120 M
+686 1126 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 1120 M
+602 1126 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 20)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 1517 M
+686 1588 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 1517 M
+602 1588 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 40)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 1914 M
+686 2050 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 1914 M
+602 2050 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 60)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 2311 M
+686 2513 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 2311 M
+602 2513 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 80)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 2708 M
+686 2975 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 2708 M
+602 2975 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 100)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 3105 M
+686 3437 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 3105 M
+602 3437 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 120)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 3502 M
+686 3899 M
 63 0 V
 3318 0 R
 -63 0 V
 stroke
-602 3502 M
+602 3899 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 140)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-686 3899 M
-63 0 V
-3318 0 R
--63 0 V
+686 664 M
+0 63 V
+0 3172 R
+0 -63 V
 stroke
-602 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 160)]
-] -46.7 MRshow
+686 580 M
+currentpoint gsave translate -45 rotate 0 0 moveto
+[ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
+] -46.7 MLshow
+grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-686 723 M
+1169 664 M
 0 63 V
-0 3113 R
+0 3172 R
 0 -63 V
 stroke
-686 639 M
+1169 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00002)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-5)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1250 723 M
+1652 664 M
 0 63 V
-0 3113 R
+0 3172 R
 0 -63 V
 stroke
-1250 639 M
+1652 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00002)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-5)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1813 723 M
+2135 664 M
 0 63 V
-0 3113 R
+0 3172 R
 0 -63 V
 stroke
-1813 639 M
+2135 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00003)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 3x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-5)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2377 723 M
+2618 664 M
 0 63 V
-0 3113 R
+0 3172 R
 0 -63 V
 stroke
-2377 639 M
+2618 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00003)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-5)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2940 723 M
+3101 664 M
 0 63 V
-0 3113 R
+0 3172 R
 0 -63 V
 stroke
-2940 639 M
+3101 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00004)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 5x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-5)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3504 723 M
+3584 664 M
 0 63 V
-0 3113 R
+0 3172 R
 0 -63 V
 stroke
-3504 639 M
+3584 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00004)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-5)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-4067 723 M
+4067 664 M
 0 63 V
-0 3113 R
+0 3172 R
 0 -63 V
 stroke
-4067 639 M
+4067 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.00005)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 7x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-5)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 686 3899 N
-686 723 L
+686 664 L
 3381 0 V
-0 3176 V
+0 3235 V
 -3381 0 V
 Z stroke
 1.000 UP
@@ -719,7 +732,7 @@ Z stroke
 LTb
 LCb setrgbcolor
 LCb setrgbcolor
-112 2311 M
+112 2281 M
 currentpoint gsave translate -270 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 (Frequency \(time\))]
 ] -46.7 MCshow
@@ -737,24 +750,30 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 725 723 434 1033 BoxColFill
-1.000 1158 723 433 2800 BoxColFill
-1.000 1590 723 433 1847 BoxColFill
-1.000 2022 723 434 1867 BoxColFill
-1.000 2455 723 433 755 BoxColFill
-1.000 2887 723 434 358 BoxColFill
-1.000 3320 723 433 61 BoxColFill
+0.58 0.00 0.83 C 1.000 1233 664 184 24 BoxColFill
+1.000 1416 664 183 1526 BoxColFill
+1.000 1598 664 183 2866 BoxColFill
+1.000 1780 664 184 2381 BoxColFill
+1.000 1963 664 183 1734 BoxColFill
+1.000 2145 664 184 694 BoxColFill
+1.000 2328 664 183 486 BoxColFill
+1.000 2510 664 183 163 BoxColFill
+1.000 2692 664 184 140 BoxColFill
+1.000 2875 664 183 24 BoxColFill
+1.000 3057 664 184 47 BoxColFill
+1.000 3422 664 183 47 BoxColFill
+1.000 3604 664 184 24 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 686 3899 N
-686 723 L
+686 664 L
 3381 0 V
-0 3176 V
+0 3235 V
 -3381 0 V
 Z stroke
 1.000 UP

+ 89 - 46
calibration/plot_read_root.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_read_root.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:27:59 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:32 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_read_root.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:27:59 2017)
+  /CreationDate (Mon Dec 18 14:16:32 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -515,45 +519,45 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C
 1.000 UL
 LTb
 LCb setrgbcolor
-854 783 M
+854 842 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 783 M
+770 842 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 0.99)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 1562 M
+854 1606 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 1562 M
+770 1606 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 0.995)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 2341 M
+854 2371 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 2341 M
+770 2371 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-854 3120 M
+854 3135 M
 63 0 V
 3150 0 R
 -63 0 V
 stroke
-770 3120 M
+770 3135 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 1.005)]
 ] -46.7 MRshow
 1.000 UL
@@ -570,91 +574,130 @@ stroke
 1.000 UL
 LTb
 LCb setrgbcolor
-854 783 M
+854 842 M
 0 63 V
-0 3053 R
+0 2994 R
 0 -63 V
 stroke
-854 699 M
+854 758 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000012)]
+[ [(Helvetica) 140.0 0.0 true true 0 (0.0000045)]
 ] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1497 783 M
+1256 842 M
 0 63 V
-0 3053 R
+0 2994 R
 0 -63 V
 stroke
-1497 699 M
+1256 758 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000013)]
+[ [(Helvetica) 140.0 0.0 true true 0 (0.0000046)]
 ] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2139 783 M
+1657 842 M
 0 63 V
-0 3053 R
+0 2994 R
 0 -63 V
 stroke
-2139 699 M
+1657 758 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000013)]
+[ [(Helvetica) 140.0 0.0 true true 0 (0.0000047)]
 ] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2782 783 M
+2059 842 M
 0 63 V
-0 3053 R
+0 2994 R
 0 -63 V
 stroke
-2782 699 M
+2059 758 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000014)]
+[ [(Helvetica) 140.0 0.0 true true 0 (0.0000048)]
 ] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3424 783 M
+2460 842 M
 0 63 V
-0 3053 R
+0 2994 R
 0 -63 V
 stroke
-3424 699 M
+2460 758 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000015)]
+[ [(Helvetica) 140.0 0.0 true true 0 (0.0000049)]
 ] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-4067 783 M
+2862 842 M
 0 63 V
-0 3053 R
+0 2994 R
 0 -63 V
 stroke
-4067 699 M
+2862 758 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 (0.000015)]
+[ [(Helvetica) 140.0 0.0 true true 0 (0.0000050)]
 ] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
+3264 842 M
+0 63 V
+0 2994 R
+0 -63 V
+stroke
+3264 758 M
+currentpoint gsave translate -45 rotate 0 0 moveto
+[ [(Helvetica) 140.0 0.0 true true 0 (0.0000051)]
+] -46.7 MLshow
+grestore
 1.000 UL
 LTb
 LCb setrgbcolor
+3665 842 M
+0 63 V
+0 2994 R
+0 -63 V
+stroke
+3665 758 M
+currentpoint gsave translate -45 rotate 0 0 moveto
+[ [(Helvetica) 140.0 0.0 true true 0 (0.0000052)]
+] -46.7 MLshow
+grestore
+1.000 UL
+LTb
+LCb setrgbcolor
+4067 842 M
+0 63 V
+0 2994 R
+0 -63 V
+stroke
+4067 758 M
+currentpoint gsave translate -45 rotate 0 0 moveto
+[ [(Helvetica) 140.0 0.0 true true 0 (0.0000053)]
+] -46.7 MLshow
+grestore
+1.000 UL
+LTb
+LCb setrgbcolor
+1.000 UL
+LTB
+LCb setrgbcolor
 854 3899 N
-854 783 L
+854 842 L
 3213 0 V
-0 3116 V
+0 3057 V
 -3213 0 V
 Z stroke
 1.000 UP
@@ -662,7 +705,7 @@ Z stroke
 LTb
 LCb setrgbcolor
 LCb setrgbcolor
-112 2341 M
+112 2370 M
 currentpoint gsave translate -270 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 (Frequency \(time\))]
 ] -46.7 MCshow
@@ -680,18 +723,18 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 1060 783 2712 1559 BoxColFill
+0.58 0.00 0.83 C 1.000 879 842 3017 1530 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 854 3899 N
-854 783 L
+854 842 L
 3213 0 V
-0 3116 V
+0 3057 V
 -3213 0 V
 Z stroke
 1.000 UP

+ 107 - 104
calibration/plot_read_value.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_read_value.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:00 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:33 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_read_value.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:00 2017)
+  /CreationDate (Mon Dec 18 14:16:33 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -515,146 +519,149 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C
 1.000 UL
 LTb
 LCb setrgbcolor
-938 783 M
+854 664 M
 63 0 V
-3066 0 R
+3150 0 R
 -63 0 V
 stroke
-854 783 M
+770 664 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 1095 M
+854 1023 M
 63 0 V
-3066 0 R
+3150 0 R
 -63 0 V
 stroke
-854 1095 M
+770 1023 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 10000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 1406 M
+854 1383 M
 63 0 V
-3066 0 R
+3150 0 R
 -63 0 V
 stroke
-854 1406 M
+770 1383 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 20000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 1718 M
+854 1742 M
 63 0 V
-3066 0 R
+3150 0 R
 -63 0 V
 stroke
-854 1718 M
+770 1742 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 30000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 2029 M
+854 2102 M
 63 0 V
-3066 0 R
+3150 0 R
 -63 0 V
 stroke
-854 2029 M
+770 2102 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 40000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 2341 M
+854 2461 M
 63 0 V
-3066 0 R
+3150 0 R
 -63 0 V
 stroke
-854 2341 M
+770 2461 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 50000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 2653 M
+854 2821 M
 63 0 V
-3066 0 R
+3150 0 R
 -63 0 V
 stroke
-854 2653 M
+770 2821 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 60000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 2964 M
+854 3180 M
 63 0 V
-3066 0 R
+3150 0 R
 -63 0 V
 stroke
-854 2964 M
+770 3180 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 70000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 3276 M
+854 3540 M
 63 0 V
-3066 0 R
+3150 0 R
 -63 0 V
 stroke
-854 3276 M
+770 3540 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 80000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 3587 M
+854 3899 M
 63 0 V
-3066 0 R
+3150 0 R
 -63 0 V
 stroke
-854 3587 M
+770 3899 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 90000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 3899 M
-63 0 V
-3066 0 R
--63 0 V
+854 664 M
+0 63 V
+0 3172 R
+0 -63 V
 stroke
-854 3899 M
-[ [(Helvetica) 140.0 0.0 true true 0 ( 100000)]
-] -46.7 MRshow
+854 580 M
+currentpoint gsave translate -45 rotate 0 0 moveto
+[ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
+] -46.7 MLshow
+grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-938 783 M
+1313 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-938 699 M
+1313 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
-] -46.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
+] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1460 783 M
+1772 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-1460 699 M
+1772 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
@@ -663,135 +670,131 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1981 783 M
+2231 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-1981 699 M
+2231 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 3x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2503 783 M
+2690 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2503 699 M
+2690 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3024 783 M
+3149 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3024 699 M
+3149 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 8x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 5x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3546 783 M
+3608 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3546 699 M
+3608 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-4067 783 M
+4067 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-4067 699 M
+4067 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.2x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 7x10)]
+[(Helvetica) 112.0 70.0 true true 0 (-6)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
-938 3899 N
-938 783 L
-3129 0 V
-0 3116 V
--3129 0 V
+854 3899 N
+854 664 L
+3213 0 V
+0 3235 V
+-3213 0 V
 Z stroke
 1.000 UP
 1.000 UL
 LTb
 LCb setrgbcolor
 LCb setrgbcolor
-112 2341 M
+112 2281 M
 currentpoint gsave translate -270 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 (Frequency \(time\))]
 ] -46.7 MCshow
 grestore
 LTb
 LCb setrgbcolor
-2502 98 M
+2460 98 M
 [ [(Helvetica) 140.0 0.0 true true 0 (Duration \(s\))]
 ] -46.7 MCshow
 LTb
 LCb setrgbcolor
-2502 4109 M
+2460 4109 M
 [ [(Helvetica) 140.0 0.0 true true 0 (Operation read_value)]
 ] -46.7 MCshow
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 1090 783 153 1 BoxColFill
-1.000 1394 783 153 550 BoxColFill
-1.000 1546 783 153 1946 BoxColFill
-1.000 1698 783 153 2850 BoxColFill
-1.000 1850 783 153 1676 BoxColFill
-1.000 2154 783 153 63 BoxColFill
-1.000 2458 783 153 18 BoxColFill
-1.000 2610 783 153 8 BoxColFill
-1.000 2762 783 153 5 BoxColFill
-1.000 2914 783 153 7 BoxColFill
-1.000 3218 783 153 7 BoxColFill
-1.000 3370 783 153 1 BoxColFill
-1.000 3522 783 153 9 BoxColFill
-1.000 3674 783 153 13 BoxColFill
-1.000 3826 783 153 3 BoxColFill
+0.58 0.00 0.83 C 1.000 1162 664 155 1550 BoxColFill
+1.000 1316 664 155 371 BoxColFill
+1.000 1624 664 155 3203 BoxColFill
+1.000 1778 664 155 2024 BoxColFill
+1.000 2086 664 155 172 BoxColFill
+1.000 2240 664 155 238 BoxColFill
+1.000 2548 664 155 5 BoxColFill
+1.000 2702 664 155 14 BoxColFill
+1.000 3010 664 156 12 BoxColFill
+1.000 3473 664 155 6 BoxColFill
+1.000 3627 664 155 2 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
-938 3899 N
-938 783 L
-3129 0 V
-0 3116 V
--3129 0 V
+854 3899 N
+854 664 L
+3213 0 V
+0 3235 V
+-3213 0 V
 Z stroke
 1.000 UP
 1.000 UL

+ 81 - 119
calibration/plot_rule_generation.eps

@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Title: calibration/plot_rule_generation.eps
-%%Creator: gnuplot 5.0 patchlevel 1 (Gentoo revision r1)
-%%CreationDate: Fri Dec 15 16:28:00 2017
+%%Creator: gnuplot 5.0 patchlevel 6 (Gentoo revision r0)
+%%CreationDate: Mon Dec 18 14:16:33 2017
 %%DocumentFonts: (atend)
 %%BoundingBox: 50 50 482 482
 %%Orientation: Portrait
@@ -50,7 +50,7 @@ gnudict begin
   } if
 } def
 %
-% Gnuplot Prolog Version 5.0 (Dec 2014)
+% Gnuplot Prolog Version 5.1 (Oct 2015)
 %
 %/SuppressPDFMark true def
 %
@@ -99,8 +99,9 @@ gnudict begin
 /LC7 {1 0.3 0} def
 /LC8 {0.5 0.5 0.5} def
 % Default dash patterns (version 5.0)
+/LTB {BL [] LCb DL} def
 /LTw {PL [] 1 setgray} def
-/LTb {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
 /LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def
 /LT0 {PL [] LC0 DL} def
 /LT1 {PL [2 dl1 3 dl2] LC1 DL} def
@@ -467,15 +468,14 @@ systemdict /pdfmark known not {
 SDict begin [
   /Title (calibration/plot_rule_generation.eps)
   /Subject (gnuplot plot)
-  /Creator (gnuplot 5.0 patchlevel 1 (Gentoo revision r1))
+  /Creator (gnuplot 5.0 patchlevel 6 (Gentoo revision r0))
   /Author (yentl)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Fri Dec 15 16:28:00 2017)
+  /CreationDate (Mon Dec 18 14:16:33 2017)
   /DOCINFO pdfmark
 end
 } ifelse
-end
 %
 % Support for boxed text - Ethan A Merritt May 2005
 %
@@ -501,6 +501,10 @@ end
 /Boxing false def
 /textshow { ExtendTextBox Gshow } def
 %
+% redundant definitions for compatibility with prologue.ps older than 5.0.2
+/LTB {BL [] LCb DL} def
+/LTb {PL [] LCb DL} def
+end
 %%EndProlog
 %%Page: 1 1
 gnudict begin
@@ -515,67 +519,67 @@ BackgroundColor 0 lt 3 1 roll 0 lt exch 0 lt or or not {gsave BackgroundColor C
 1.000 UL
 LTb
 LCb setrgbcolor
-938 783 M
+938 664 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 783 M
+854 664 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 1302 M
+938 1203 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 1302 M
+854 1203 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 50000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 1822 M
+938 1742 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 1822 M
+854 1742 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 100000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 2341 M
+938 2282 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 2341 M
+854 2282 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 150000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 2860 M
+938 2821 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 2860 M
+854 2821 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 200000)]
 ] -46.7 MRshow
 1.000 UL
 LTb
 LCb setrgbcolor
-938 3380 M
+938 3360 M
 63 0 V
 3066 0 R
 -63 0 V
 stroke
-854 3380 M
+854 3360 M
 [ [(Helvetica) 140.0 0.0 true true 0 ( 250000)]
 ] -46.7 MRshow
 1.000 UL
@@ -592,95 +596,67 @@ stroke
 1.000 UL
 LTb
 LCb setrgbcolor
-938 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-938 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
-] -46.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
-1251 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-1251 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 5x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-6)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
-1564 783 M
+938 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-1564 699 M
+938 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 (-1x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-1877 783 M
+1385 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-1877 699 M
+1385 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 1.5x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
+[ [(Helvetica) 140.0 0.0 true true 0 ( 0)]
+] -46.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2190 783 M
+1832 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2190 699 M
+1832 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 1x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2503 783 M
+2279 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2503 699 M
+2279 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 2.5x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 2x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-2815 783 M
+2726 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-2815 699 M
+2726 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 3x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -689,26 +665,12 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3128 783 M
-0 63 V
-0 3053 R
-0 -63 V
-stroke
-3128 699 M
-currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 3.5x10)]
-[(Helvetica) 112.0 70.0 true true 0 (-5)]
-] -60.7 MLshow
-grestore
-1.000 UL
-LTb
-LCb setrgbcolor
-3441 783 M
+3173 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3441 699 M
+3173 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 ( 4x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
@@ -717,28 +679,28 @@ grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-3754 783 M
+3620 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-3754 699 M
+3620 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 4.5x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 5x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
 1.000 UL
 LTb
 LCb setrgbcolor
-4067 783 M
+4067 664 M
 0 63 V
-0 3053 R
+0 3172 R
 0 -63 V
 stroke
-4067 699 M
+4067 580 M
 currentpoint gsave translate -45 rotate 0 0 moveto
-[ [(Helvetica) 140.0 0.0 true true 0 ( 5x10)]
+[ [(Helvetica) 140.0 0.0 true true 0 ( 6x10)]
 [(Helvetica) 112.0 70.0 true true 0 (-5)]
 ] -60.7 MLshow
 grestore
@@ -746,12 +708,12 @@ grestore
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 938 3899 N
-938 783 L
+938 664 L
 3129 0 V
-0 3116 V
+0 3235 V
 -3129 0 V
 Z stroke
 1.000 UP
@@ -759,7 +721,7 @@ Z stroke
 LTb
 LCb setrgbcolor
 LCb setrgbcolor
-112 2341 M
+112 2281 M
 currentpoint gsave translate -270 rotate 0 0 moveto
 [ [(Helvetica) 140.0 0.0 true true 0 (Frequency \(time\))]
 ] -46.7 MCshow
@@ -777,37 +739,37 @@ LCb setrgbcolor
 % Begin plot #1
 1.000 UL
 LTb
-0.58 0.00 0.83 C 1.000 938 783 146 2037 BoxColFill
-1.000 1083 783 146 2769 BoxColFill
-1.000 1228 783 146 640 BoxColFill
-1.000 1373 783 145 155 BoxColFill
-1.000 1517 783 146 143 BoxColFill
-1.000 1662 783 146 263 BoxColFill
-1.000 1807 783 146 260 BoxColFill
-1.000 1952 783 146 159 BoxColFill
-1.000 2097 783 146 130 BoxColFill
-1.000 2242 783 146 151 BoxColFill
-1.000 2387 783 145 86 BoxColFill
-1.000 2531 783 146 78 BoxColFill
-1.000 2676 783 146 82 BoxColFill
-1.000 2821 783 146 71 BoxColFill
-1.000 2966 783 146 83 BoxColFill
-1.000 3111 783 146 65 BoxColFill
-1.000 3256 783 146 42 BoxColFill
-1.000 3401 783 146 37 BoxColFill
-1.000 3546 783 145 41 BoxColFill
-1.000 3690 783 146 45 BoxColFill
+0.58 0.00 0.83 C 1.000 1385 664 112 1622 BoxColFill
+1.000 1496 664 112 2900 BoxColFill
+1.000 1607 664 113 652 BoxColFill
+1.000 1719 664 112 161 BoxColFill
+1.000 1830 664 112 189 BoxColFill
+1.000 1941 664 112 238 BoxColFill
+1.000 2052 664 112 275 BoxColFill
+1.000 2163 664 112 185 BoxColFill
+1.000 2274 664 113 187 BoxColFill
+1.000 2386 664 112 106 BoxColFill
+1.000 2497 664 112 116 BoxColFill
+1.000 2608 664 112 66 BoxColFill
+1.000 2719 664 112 80 BoxColFill
+1.000 2830 664 113 92 BoxColFill
+1.000 2942 664 112 81 BoxColFill
+1.000 3053 664 112 43 BoxColFill
+1.000 3164 664 112 56 BoxColFill
+1.000 3275 664 112 36 BoxColFill
+1.000 3386 664 113 50 BoxColFill
+1.000 3498 664 112 27 BoxColFill
 % End plot #1
 2.000 UL
 LTb
 LCb setrgbcolor
 1.000 UL
-LTb
+LTB
 LCb setrgbcolor
 938 3899 N
-938 783 L
+938 664 L
 3129 0 V
-0 3116 V
+0 3235 V
 -3129 0 V
 Z stroke
 1.000 UP

+ 26 - 3
model/model.py

@@ -17,6 +17,29 @@ import random
 
 random.seed(1)
 
+COMPILER_PATH = "interface/HUTN"
+
+sys.path.append(COMPILER_PATH)
+from hutn_compiler.compiler import main as do_compile
+import os
+
+def clean_code(code):
+    if code == "":
+        return code
+
+    code_fragments = code.split("\n")
+    code_fragments = [i.rstrip() for i in code_fragments if i.strip() != ""]
+    code_fragments = [i.replace("    ", "\t") for i in code_fragments]
+    initial_tabs = min([len(i) - len(i.lstrip("\t")) for i in code_fragments])
+    code_fragments = [i[initial_tabs:] for i in code_fragments]
+    code_fragments.append("")
+    code = "\n".join(code_fragments)
+    return code.encode('ascii', 'replace')
+
+def compile_model(temp_file):
+    compiled = do_compile(temp_file, COMPILER_PATH + "/grammars/modelling.g", "M")
+    return ["__LOCAL__"] + compiled
+
 def translate(operation):
     return {
             "CN": "create_node",
@@ -358,7 +381,7 @@ class ModelverseInterface(AtomicDEVS):
             self.state.output.append(inp)
             if inp == self.finish_on:
                 self.state.finished = True
-        #print("Event history: " + str(self.state.output))
+        print("Event history: " + str(self.state.output))
         return self.state
 
     def outputFnc(self):
@@ -517,8 +540,8 @@ class System(CoupledDEVS):
 
 taskname = "test_task"
 
-operations = ["admin", "admin"]
-finish_on = "Use the 'help' command for a list of possible commands"
+operations = ["admin", "admin", "model_add", "formalisms/SimpleClassDiagrams", "formalisms/PN"] + compile_model("models/petrinets.mvc") + ["model_list", "formalisms", "echo", "FINISHED"]
+finish_on = "FINISHED"
 
 args = {
         "taskname":             taskname,

+ 1 - 1
wrappers/modelverse_SCCD.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Mon Dec 18 08:57:20 2017
+Date:   Mon Dec 18 13:49:08 2017
 
 Model author: Yentl Van Tendeloo
 Model name:   MvK Server