summaryrefslogtreecommitdiff
path: root/reversing_game_mechanics/zoomlevel/win.size.gnuplot
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2015-08-28 00:29:04 +0200
committerFlorian Jung <flo@windfisch.org>2015-08-28 00:29:04 +0200
commitf13b8a44441206a4f761002ed3adabd129601ba1 (patch)
tree83543b16f1982441f669391667a5e78261b87842 /reversing_game_mechanics/zoomlevel/win.size.gnuplot
parent38f85429d76bb220580283c638036cbbf67df4df (diff)
use new zoom formula
Diffstat (limited to 'reversing_game_mechanics/zoomlevel/win.size.gnuplot')
-rw-r--r--reversing_game_mechanics/zoomlevel/win.size.gnuplot5
1 files changed, 4 insertions, 1 deletions
diff --git a/reversing_game_mechanics/zoomlevel/win.size.gnuplot b/reversing_game_mechanics/zoomlevel/win.size.gnuplot
index 90886c3..aa5499c 100644
--- a/reversing_game_mechanics/zoomlevel/win.size.gnuplot
+++ b/reversing_game_mechanics/zoomlevel/win.size.gnuplot
@@ -2,7 +2,9 @@ min(a,b)=(a<b)?a:b
max(a,b)=(a>b)?a:b
f(x) = a* x**b
+g(x) = aa* x**bb + cc
fit f(x) "win.size.all.filtered" using 1:2 via a,b
+fit g(x) "win.size.all.filtered" using 1:2 via aa,bb,cc
plot "win.size.1" using 1:2:(min(1,$3/100)) lt rgb "red" pt 2 ps variable, \
"win.size.2" using 1:2:(min(1,$3/100)) lt rgb "blue" pt 2 ps variable, \
@@ -12,5 +14,6 @@ plot "win.size.1" using 1:2:(min(1,$3/100)) lt rgb "red" pt 2 ps variable, \
"win.size.6" using 1:2:(1) lt rgb "orange" pt 2 ps variable, \
x**0.4*460+50 lt rgb "gray", \
x**0.407*460-400 lt rgb "gray", \
- f(x) lt rgb "black"
+ f(x) lt rgb "black", \
+ g(x) lt rgb "black"
pause -1