summaryrefslogtreecommitdiff
path: root/xdelta3/plot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xdelta3/plot.sh')
-rw-r--r--xdelta3/plot.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/xdelta3/plot.sh b/xdelta3/plot.sh
index d5f8dab..8370ae7 100644
--- a/xdelta3/plot.sh
+++ b/xdelta3/plot.sh
@@ -2,11 +2,15 @@
2 2
3G=/usr/bin/gnuplot 3G=/usr/bin/gnuplot
4 4
5D=./output_dir
6
5I=$1 7I=$1
6O=$2 8O=$D/$2
7 9
8$G > $O <<EOF 10$G > $O <<EOF
9set terminal jpeg 11
12#set terminal jpeg
13set terminal png
10 14
11f(x) = 1331000 + 30000 * (1 / (x - 2.45)) 15f(x) = 1331000 + 30000 * (1 / (x - 2.45))
12 16
@@ -14,6 +18,8 @@ f(x) = 1331000 + 30000 * (1 / (x - 2.45))
14# plot sin(x), cos(x) 18# plot sin(x), cos(x)
15# , f(x) 19# , f(x)
16 20
17plot "$I" using 1:2, f(x) 21plot "$I" using 1:2
18 22
19EOF 23EOF
24
25mv "$I" "$D"