summaryrefslogtreecommitdiff
path: root/src/draw.plot
blob: b6428c4fea42c073cc48834627ace2bac8536d7c (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
# 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";

# 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 :