summaryrefslogtreecommitdiff
path: root/src/draw.plot
blob: 77ca4474992a17c2022a3bc4aee9c7889dd782a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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",	\
	'data.txt' using 4 with lines lt rgb "#4e9a06" title "rise";

set output "overlap.svg";
set xrange [0:100000]

plot 'overlap.txt' using 1:2 with lines lt rgb "#204a87" title "diff"

# vim: set syntax=gnuplot :