Created
February 12, 2015 05:29
-
-
Save kungfuant/e66bb88418f20a02fe2f to your computer and use it in GitHub Desktop.
MoneyPot house edge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/gnuplot | |
reset | |
# set terminal png size 1280,600 | |
# set output "moneypot-houseedge.png" | |
set terminal svg enhanced size 1920 1080 | |
set output "moneypot-houseedge.svg" | |
set ylabel "house edge %" | |
set xlabel "cashout multiplier" | |
set xrange [1:20] | |
set yrange [0:1] | |
set xtics 2 | |
set ytics 0.1 | |
set grid xtics ytics | |
set style line 1 lc rgb 'red' lt 1 lw 3 | |
houseedge(x) = 100 * (1.0/101 - 99.0/101/(100*x - 1)) | |
plot houseedge(x) title '' with lines linestyle 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment