From cedb9d30c8a8e6e2f366caf5e669128cdad78097 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sun, 12 Dec 2010 17:13:15 +0100 Subject: [PATCH] Add filter-time --- gw-tests/filter-time.sh | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 gw-tests/filter-time.sh diff --git a/gw-tests/filter-time.sh b/gw-tests/filter-time.sh new file mode 100755 index 0000000..e82803a --- /dev/null +++ b/gw-tests/filter-time.sh @@ -0,0 +1,38 @@ +#!/bin/bash + +. lib.sh + +NO_GW_NEEDED=true + +main() { + ln -s ../filter/*.txt . +} + +ids="0 $(seq 255 256 2047)" + +ADDITIONAL_PLOTS=detail + +plot_cmds() { + if [[ "$1" = detail ]]; then + range=0.36:0.8 + else + range=0.05:100 + echo "set logscale y" + fi + min=$(head -n 1 id-0-msgs.txt | awk '{ print $2 }') + cat <