diff options
| author | wukong <wukong@longaeva> | 2026-02-17 16:20:04 -0800 |
|---|---|---|
| committer | wukong <wukong@longaeva> | 2026-02-17 16:20:04 -0800 |
| commit | e13d388ced9ae1269b19506051a7d70d2113b9a8 (patch) | |
| tree | 0ec347b542c39241218afb5a5f4ef384760af370 | |
| parent | 1961c8dbb25fb7fadfda805bea7d60fba143a436 (diff) | |
changed sprintf parameter from %.f to %d due to round off effects;
Diffstat (limited to '')
| -rw-r--r-- | ckt0.awk | 3 | ||||
| -rw-r--r-- | ckt0.gp | 32 |
2 files changed, 33 insertions, 2 deletions
@@ -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 { @@ -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; |
