diff options
author | Jan Klemkow <j.klemkow@wemelug.de> | 2012-11-15 08:28:03 +0100 |
---|---|---|
committer | Jan Klemkow <j.klemkow@wemelug.de> | 2012-11-15 08:28:03 +0100 |
commit | a1f6fddabbfc7467316fbc02496790a4f742bbd1 (patch) | |
tree | 4d78663e3a030cda4345ec893fd8e10fc667bcf1 /src | |
parent | c7c47cdf23892f7209bbd2acaf420a8d34336406 (diff) | |
download | advtime-a1f6fddabbfc7467316fbc02496790a4f742bbd1.tar.gz advtime-a1f6fddabbfc7467316fbc02496790a4f742bbd1.tar.bz2 advtime-a1f6fddabbfc7467316fbc02496790a4f742bbd1.zip |
Add graph plotting script.
Diffstat (limited to 'src')
-rw-r--r-- | src/draw.plot | 8 | ||||
-rwxr-xr-x | src/run | 4 |
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"; @@ -0,0 +1,4 @@ +#!/bin/sh + +./advtime -a -d ../heute100sec.wmv > data.txt +gnuplot -p draw.plot |