summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/draw.plot8
-rwxr-xr-xsrc/run4
2 files changed, 12 insertions, 0 deletions
diff --git a/src/draw.plot b/src/draw.plot
new file mode 100644
index 0000000..c3de0a6
--- /dev/null
+++ b/src/draw.plot
@@ -0,0 +1,8 @@
+# draw frame diff graph
+
+set terminal svg size 800,600 dynamic;
+
+set output "graph.svg";
+
+plot 'data.txt' using 2 with lines lt rgb "#204a87" title "average", \
+ 'data.txt' using 3 with lines lt rgb "#a40000" title "diff";
diff --git a/src/run b/src/run
new file mode 100755
index 0000000..2a18fc1
--- /dev/null
+++ b/src/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+./advtime -a -d ../heute100sec.wmv > data.txt
+gnuplot -p draw.plot