Created
February 11, 2015 17:38
-
-
Save kungfuant/15b70792977305aa4f1f to your computer and use it in GitHub Desktop.
Plot MoneyPot wagered and profit
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 1920,1200 | |
set output "moneypot-wagered.png" | |
set title "MoneyPot - Wagered and profit" | |
set xlabel "Time" | |
set xtics 2592000 # 30 days in seconds | |
set ytics 100 nomirror | |
set ylabel 'Wagered in BTC' | |
set y2tics 10 nomirror | |
set y2label 'Profit in BTC' | |
set grid xtics # ytics | |
set datafile separator ";" | |
set xdata time | |
set timefmt "%Y-%m-%d %H:%M:%S+00" | |
# Fill with line color | |
set style fill solid 1.0 | |
plot \ | |
"moneypot-wagered.csv" using 1:3 title 'Wagered' lc rgb "blue" with boxes, \ | |
"moneypot-wagered.csv" using 1:2 title 'Profit' lc rgb "red" lw 3 smooth cumulative axes x1y2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment