Merge CV, ver=5.1; ops/methods from HV, and interface from CV where possible
[goodguy/history.git] / cinelerra-5.1 / db / utils / plotwts.sh
diff --git a/cinelerra-5.1/db/utils/plotwts.sh b/cinelerra-5.1/db/utils/plotwts.sh
new file mode 100755 (executable)
index 0000000..05561a4
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+dir=/tmp/data
+n1=`expr "00000$1" : '.*\(.....\)'`
+n2=`expr "00000$2" : '.*\(.....\)'`
+cmd="plot \"$dir/w$n1.txt\" with lines, \"$dir/w$n2.txt\" with lines"
+gnuplot -e "set terminal png; $cmd" | xv - &