Automatic commit. Fri Oct 5 00:00:03 WST 2012
[matches/honours.git] / research / TCS / plot.sh
index 8ce6a8f..c3d0fea 100755 (executable)
@@ -2,14 +2,14 @@
 
 # Script to plot .dat files
 
-x=2
-toplot="3 5"
+x=1
+toplot="3"
 ylabel="Counts"
-style="p"
+style="lp"
 dir="/home/sam/Documents/University/honours/research/TCS"
 
-title=$(grep "# Title: " $1 | sed 's/# Title: //g')
-comment=$(grep "# Comment:" $1 | sed 's/# Comment: *//1' | head --bytes=100)
+title=$(grep "# Title = " $1 | sed 's/# Title = //g')
+comment=$(grep "# Comment = " $1 | sed 's/# Comment = *//1' | head --bytes=100)
 labels=$(grep -A 1 "# Data:" $1 | tail --lines=1 | sed 's/#//1')
 
 if [ "$title" == "" ]; then

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