From a1f6fddabbfc7467316fbc02496790a4f742bbd1 Mon Sep 17 00:00:00 2001 From: Jan Klemkow Date: Thu, 15 Nov 2012 08:28:03 +0100 Subject: Add graph plotting script. --- src/draw.plot | 8 ++++++++ src/run | 4 ++++ 2 files changed, 12 insertions(+) create mode 100644 src/draw.plot create mode 100755 src/run 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 -- cgit