diff options
author | Florian Jung <flo@windfisch.org> | 2015-08-27 21:05:22 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-08-27 21:05:22 +0200 |
commit | ea4515d0516dc3f0bd20428f6d032714ca5ffdea (patch) | |
tree | 6119669b4827d078f9c1b8bf9d9a717a67178146 /reversing_game_mechanics/zoomlevel/win.size.gnuplot | |
parent | a973a8986191a7a492a18a8f52d33bce9b821292 (diff) |
reverse engineered zoom level
Diffstat (limited to 'reversing_game_mechanics/zoomlevel/win.size.gnuplot')
-rw-r--r-- | reversing_game_mechanics/zoomlevel/win.size.gnuplot | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/reversing_game_mechanics/zoomlevel/win.size.gnuplot b/reversing_game_mechanics/zoomlevel/win.size.gnuplot new file mode 100644 index 0000000..90886c3 --- /dev/null +++ b/reversing_game_mechanics/zoomlevel/win.size.gnuplot @@ -0,0 +1,16 @@ +min(a,b)=(a<b)?a:b +max(a,b)=(a>b)?a:b + +f(x) = a* x**b +fit f(x) "win.size.all.filtered" using 1:2 via a,b + +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, \ + "win.size.3" using 1:2:(min(1,$3/100)) lt rgb "green" pt 2 ps variable, \ + "win.size.4" using 1:2:(1) lt rgb "purple" pt 2 ps variable, \ + "win.size.5" using 1:2:(1) lt rgb "cyan" 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" +pause -1 |