summaryrefslogtreecommitdiff
path: root/src/draw.plot
blob: d3a305961ad51f1b5292994714121749a5ee6fae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# draw frame diff graph

set terminal svg size 800,600 dynamic;
set ylabel 'diff'
set xlabel 'Zeit [sec]'

set output "../doc/image/avg.svg";
plot	'data.txt' using ($1 / 1000):2 with lines lt rgb "#204a87" title "average"

set output "../doc/image/cuts.svg";
plot	'data.txt' using ($1 / 1000):2 with lines lt rgb "#204a87" title "average", \
	'data.txt' using ($1 / 1000):3 with lines lt rgb "#a40000" title "diff"

set output "../doc/image/cuts_diff.svg";
plot	'data.txt' using ($1 / 1000):3 with lines lt rgb "#a40000" title "diff",    \
	'data.txt' using ($1 / 1000):4 with lines lt rgb "#4e9a06" title "rise";

set output "../doc/image/findcut.svg";
plot	'findcut.txt' using ($1 / 1000):2 with lines lt rgb "#a40000" title "diff"

# draw overlaping graph

set xrange [0:60]
set output "../doc/image/overlap.svg";
plot 'overlap.txt' using ($1 / 1000):2 with lines lt rgb "#204a87" title "diff"

# vim: set syntax=gnuplot :