summaryrefslogtreecommitdiff
path: root/src/draw.plot
diff options
context:
space:
mode:
Diffstat (limited to 'src/draw.plot')
-rw-r--r--src/draw.plot11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/draw.plot b/src/draw.plot
index dc8a538..77ca447 100644
--- a/src/draw.plot
+++ b/src/draw.plot
@@ -1,8 +1,15 @@
# draw frame diff graph
-#set terminal svg size 800,600 dynamic;
-#set output "graph.svg";
+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 :