summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ckt0.awk3
-rw-r--r--ckt0.gp32
2 files changed, 33 insertions, 2 deletions
diff --git a/ckt0.awk b/ckt0.awk
index a3bd0e3..720be64 100644
--- a/ckt0.awk
+++ b/ckt0.awk
@@ -57,7 +57,7 @@ function unc_g(val) {
# trim punctuation from val
sub("[eE].*$", "", val)
gsub("[.+-]", "", val)
- omag_unc = sprintf("%.f", omag_val - length(val) + 1.0)
+ omag_unc = sprintf("%d", omag_val - length(val) + 1.0)
return sprintf("%g", 10.0^(omag_unc))
@@ -87,7 +87,6 @@ function ck_boottime(unm) {
sub("^.*= ", "", t0_k_arr[n])
}
t0_k = t0_k_arr[1] "." t0_k_arr[2]
-
}
else {
diff --git a/ckt0.gp b/ckt0.gp
new file mode 100644
index 0000000..4964fd1
--- /dev/null
+++ b/ckt0.gp
@@ -0,0 +1,32 @@
+
+# set datafile separator comma;
+set key autotitle columnhead;
+# set terminal dumb size 192,56;
+
+set grid;
+# set logscale y;
+
+### plot time v data
+# plot 't0.log' using 2:3 with points;
+# plot 't0.log' using 2:5 with points;
+# plot 't0.log' using 2:6 with points;
+
+### plot est v unc
+# plot 't0.log' using 2:3 with points;
+# plot 't0.log' using 4:5 with points;
+# plot 't0.log' using 6:7 with points;
+
+### plot unc v unc
+# plot 't0.log' using 3:5 with dots;
+# plot 't0.log' using 3:7 with points;
+# plot 't0.log' using 5:7 with dots;
+
+### plot uptime v data
+# plot 't0.log' using 4:2 with dots;
+# plot 't0.log' using 4:3 with dots;
+# plot 't0.log' using 4:5 with dots;
+# plot 't0.log' using 4:6 with dots;
+# plot 't0.log' using 4:7 with dots;
+
+# plot 't0.log' using 2:4:(0.5*$5) with errorbars;
+plot 't0.log' using 4:6:(0.5*$7) with errorbars;