-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgnuplot.script
More file actions
51 lines (41 loc) · 3.02 KB
/
Copy pathgnuplot.script
File metadata and controls
51 lines (41 loc) · 3.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
set xlabel "Aantal zetten"
set ylabel "Aantal spelletjes"
set logscale y 2
set grid
set terminal png size 400,300 enhanced font "Ubuntu Mono,9"
set title "Minesweeper results, lost, 20x20, 50 or 20 bombs"
set output 'plot_20_20_lost.png'
plot '< sort -g -k2,2 output_20_20_50.txt | grep lost | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "20x20-50",\
'< sort -g -k2,2 output_20_20_20.txt | grep lost | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "20x20-20"
set title "Minesweeper results, lost, 15x15, 50 or 20 bombs"
set output 'plot_15_15_lost.png'
plot '< sort -g -k2,2 output_15_15_50.txt | grep lost | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "15x15-50",\
'< sort -g -k2,2 output_15_15_20.txt | grep lost | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "15x15-20"
set title "Minesweeper results, lost, 9x9, 50 or 20 bombs"
set output 'plot_9_9_lost.png'
plot '< sort -g -k2,2 output_9_9_50.txt | grep lost | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "9x9-50",\
'< sort -g -k2,2 output_9_9_20.txt | grep lost | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "9x9-20"
set title "Minesweeper results, won, 20x20, 50 or 20 bombs"
set output 'plot_20_20_won.png'
plot '< sort -g -k2,2 output_20_20_50.txt | grep won | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "20x20-50",\
'< sort -g -k2,2 output_20_20_20.txt | grep won | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "20x20-20"
set title "Minesweeper results, won, 15x15, 50 or 20 bombs"
set output 'plot_15_15_won.png'
plot '< sort -g -k2,2 output_15_15_50.txt | grep won | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "15x15-50",\
'< sort -g -k2,2 output_15_15_20.txt | grep won | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "15x15-20"
set title "Minesweeper results, won, 9x9, 50 or 20 bombs"
set output 'plot_9_9_won.png'
plot '< sort -g -k2,2 output_9_9_50.txt | grep won | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "9x9-50",\
'< sort -g -k2,2 output_9_9_20.txt | grep won | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "9x9-20"
set title "Minesweeper results, total, 20x20, 50 or 20 bombs"
set output 'plot_20_20_total.png'
plot '< sort -g -k2,2 output_20_20_50.txt | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "20x20-50",\
'< sort -g -k2,2 output_20_20_20.txt | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "20x20-20"
set title "Minesweeper results, total, 15x15, 50 or 20 bombs"
set output 'plot_15_15_total.png'
plot '< sort -g -k2,2 output_15_15_50.txt | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "15x15-50",\
'< sort -g -k2,2 output_15_15_20.txt | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "15x15-20"
set title "Minesweeper results, total, 9x9, 50 or 20 bombs"
set output 'plot_9_9_total.png'
plot '< sort -g -k2,2 output_9_9_50.txt | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "9x9-50",\
'< sort -g -k2,2 output_9_9_20.txt | awk ''!($1="")'' | uniq -c' using 2:1 with lines title "9x9-20"