X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=research%2FTCS%2Fplot.sh;h=c3d0fea38f2ae3df9d4d6710b2b7ee1f58507398;hb=6da2fbb2e712c657f7e80848f6b9b45de35b11c8;hp=8ce6a8f1f628fb454dedcbf7322d08079e48afbf;hpb=df79d0a9c6c8d8fb2f91212a31868033e4841b8b;p=matches%2Fhonours.git diff --git a/research/TCS/plot.sh b/research/TCS/plot.sh index 8ce6a8f1..c3d0fea3 100755 --- a/research/TCS/plot.sh +++ b/research/TCS/plot.sh @@ -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