From 11dd176bd1ee4fe1de9f233029636307289bb517 Mon Sep 17 00:00:00 2001
From: Sam Moore <matches@ucc.asn.au>
Date: Sun, 4 Mar 2012 20:09:40 +0800
Subject: [PATCH] Add .plt templates for gnuplot

---
 judge/simulator/scores.plt   |  9 +++++++++
 judge/simulator/template.plt | 11 +++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 judge/simulator/scores.plt
 create mode 100644 judge/simulator/template.plt

diff --git a/judge/simulator/scores.plt b/judge/simulator/scores.plt
new file mode 100644
index 0000000..67facbf
--- /dev/null
+++ b/judge/simulator/scores.plt
@@ -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
index 0000000..7efe965
--- /dev/null
+++ b/judge/simulator/template.plt
@@ -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
-- 
GitLab