summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2013-02-01 20:37:06 +0100
committerJan Klemkow <j.klemkow@wemelug.de>2013-02-01 20:37:06 +0100
commit04dcc1289a6f766a2d1725e00124624f17d4f01d (patch)
tree4facdb9e0fa83f0c81e23e9e8056f5f70d43fa15 /src
parent81ffe5042ab0005edfa9eb8c8b6fa03ecbfa4601 (diff)
downloadadvtime-04dcc1289a6f766a2d1725e00124624f17d4f01d.tar.gz
advtime-04dcc1289a6f766a2d1725e00124624f17d4f01d.tar.bz2
advtime-04dcc1289a6f766a2d1725e00124624f17d4f01d.zip
Add graph and text into documentation.
Diffstat (limited to 'src')
-rw-r--r--src/draw.plot6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/draw.plot b/src/draw.plot
index 06e521c..b6428c4 100644
--- a/src/draw.plot
+++ b/src/draw.plot
@@ -4,10 +4,12 @@ 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", \
- 'data.txt' using ($1 / 1000):4 with lines lt rgb "#4e9a06" title "rise";
+ '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", \