summaryrefslogtreecommitdiff
path: root/reversing_game_mechanics/zoomlevel/win.size.gnuplot
blob: 90886c3a8eac4aec4a1043ce6e4fb6a1b1d43a7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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