Add .plt templates for gnuplot
authorSam Moore <matches@ucc.asn.au>
Sun, 4 Mar 2012 12:09:40 +0000 (20:09 +0800)
committerSam Moore <matches@ucc.asn.au>
Sun, 4 Mar 2012 12:09:40 +0000 (20:09 +0800)
judge/simulator/scores.plt [new file with mode: 0644]
judge/simulator/template.plt [new file with mode: 0644]

diff --git a/judge/simulator/scores.plt b/judge/simulator/scores.plt
new file mode 100644 (file)
index 0000000..67facbf
--- /dev/null
@@ -0,0 +1,9 @@
+set term png size 640,480
+set output "scores.png"
+set xtics 1
+set ytics 1
+set xrange [1:]
+set xlabel "Games Played"
+set ylabel "Score"
+set title "All scores"
+set key top left
diff --git a/judge/simulator/template.plt b/judge/simulator/template.plt
new file mode 100644 (file)
index 0000000..7efe965
--- /dev/null
@@ -0,0 +1,11 @@
+set term png size 640,480
+set output "[NAME].png"
+set xtics 1
+set ytics 1
+set xrange [1:]
+set xlabel "Games Played"
+set ylabel "Score"
+set title "[NAME] scores"
+set key top left
+plot "[NAME].scores" using ($0+1):1 with linespoints title "[NAME]"
+exit

UCC git Repository :: git.ucc.asn.au