X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=research%2FTCS%2Fplot.sh;h=46073d63ea436d432feefc051ad68709eff67958;hb=dd0a357e62853e1e30dc956fbdf2d3a4735785ac;hp=8ce6a8f1f628fb454dedcbf7322d08079e48afbf;hpb=df79d0a9c6c8d8fb2f91212a31868033e4841b8b;p=matches%2Fhonours.git diff --git a/research/TCS/plot.sh b/research/TCS/plot.sh index 8ce6a8f1..46073d63 100755 --- a/research/TCS/plot.sh +++ b/research/TCS/plot.sh @@ -2,14 +2,14 @@ # Script to plot .dat files -x=2 +x=1 toplot="3 5" ylabel="Counts" -style="p" +style="l" 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