Skip to content

Commit

Permalink
Add graph autosubmission script for Rob
Browse files Browse the repository at this point in the history
git-svn-id: svn://R_E_D_A_C_T_E_D/icfp/hw12@367 b3d0796d-73f4-44f3-a614-c7306c265f62
  • Loading branch information
rjsimmon committed Jun 19, 2011
1 parent 71f44b0 commit ab93cc3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions submitgraph
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

file=graph-$1-$2-$3-$4

gnuplot -e "set terminal png; set output '$file.png'; plot '$file-0.dat' ti 'Player 0: $1:$2' with impulses, '$file-1.dat' ti 'Player1: $3:$4' with impulses"

scp $file.png R_E_D_A_C_T_E_D:/home/www/www/graphs/$1-$2-$3-$4.png

0 comments on commit ab93cc3

Please sign in to comment.