set terminal pdf enhanced size 15,'''+('''6''')*(components=="all")+('''3''')*(componentsin("circ-long","rad-circ"))+'''
set terminal pdf size 15,'''+('''6''')*(components=="all")+('''3''')*(componentsin("circ-long","rad-circ"))+'''
set output "'''+plotfile_basename+'''.pdf"
set output "'''+plotfile_basename+'''.pdf"
...
@@ -66,7 +66,7 @@ set linestyle 7 pointtype 1
...
@@ -66,7 +66,7 @@ set linestyle 7 pointtype 1
set linestyle 8 pointtype 1
set linestyle 8 pointtype 1
set linestyle 9 pointtype 1
set linestyle 9 pointtype 1
set key box textcolor variable width +1
set key box textcolor variable width +0
set grid
set grid
...
@@ -74,7 +74,7 @@ set grid
...
@@ -74,7 +74,7 @@ set grid
fork_sectorinrange(n_sectors):
fork_sectorinrange(n_sectors):
plotfile.write('''\
plotfile.write('''\
set multiplot layout '''+('''2''')*(components=="all")+('''1''')*(componentsin("circ-long","rad-circ"))+''',3
set multiplot layout '''+('''2''')*(components=="all")+('''1''')*(componentsin("circ-long","rad-circ"))+''',3'''+(''' title "sector '''+str(k_sector)+'''"''')*(k_sector>0)+'''
set xlabel "frame ()"
set xlabel "frame ()"
set xrange [0:'''+str(n_frames)+''']
set xrange [0:'''+str(n_frames)+''']
...
@@ -102,12 +102,12 @@ set ylabel "'''+comp_name+''' strain (%)"
...
@@ -102,12 +102,12 @@ set ylabel "'''+comp_name+''' strain (%)"