set multiplot layout 2,2 rowsfirst # plots the currents and up to SEVEN fits # to plot more fits add lines at locations indicated set xlabel "CHANNEL" set ylabel "CURRENT" set logscale y set yrange [t:t*10**u] #set yrange [10000.:10000000.] set xrange [0.:128.] # graph a plot "data.txt" using 1:2 notitle with histeps ls 1, \ "data.txt" using 1:6 notitle with lines ls 1, \ "data.txt" using 1:6 notitle with points ls 1, \ "data.txt" using 1:10 notitle with lines ls 1, \ "data.txt" using 1:14 notitle with lines ls 1, \ "data.txt" using 1:18 notitle with lines ls 1, \ "data.txt" using 1:22 notitle with lines ls 1, \ "data.txt" using 1:26 notitle with lines ls 1, \ "data.txt" using 1:30 notitle with lines ls 1 # additional fit, add lines following the above sequence # graph b plot "data.txt" using 1:3 notitle with histeps ls 1, \ "data.txt" using 1:7 notitle with lines ls 1, \ "data.txt" using 1:7 notitle with points ls 1, \ "data.txt" using 1:11 notitle with lines ls 1, \ "data.txt" using 1:15 notitle with lines ls 1, \ "data.txt" using 1:19 notitle with lines ls 1, \ "data.txt" using 1:23 notitle with lines ls 1, \ "data.txt" using 1:27 notitle with lines ls 1, \ "data.txt" using 1:31 notitle with lines ls 1 # additional fit, add lines following the above sequence # graph c plot "data.txt" using 1:4 notitle with histeps ls 1, \ "data.txt" using 1:8 notitle with lines ls 1, \ "data.txt" using 1:8 notitle with points ls 1, \ "data.txt" using 1:12 notitle with lines ls 1, \ "data.txt" using 1:16 notitle with lines ls 1, \ "data.txt" using 1:20 notitle with lines ls 1, \ "data.txt" using 1:24 notitle with lines ls 1, \ "data.txt" using 1:28 notitle with lines ls 1, \ "data.txt" using 1:32 notitle with lines ls 1 # additional fit, add lines following the above sequence # graph d plot "data.txt" using 1:5 notitle with histeps ls 1, \ "data.txt" using 1:9 notitle with lines ls 1, \ "data.txt" using 1:9 notitle with points ls 1, \ "data.txt" using 1:13 notitle with lines ls 1, \ "data.txt" using 1:17 notitle with lines ls 1, \ "data.txt" using 1:21 notitle with lines ls 1, \ "data.txt" using 1:25 notitle with lines ls 1, \ "data.txt" using 1:29 notitle with lines ls 1, \ "data.txt" using 1:33 notitle with lines ls 1 # additional fit, add lines following the above sequence unset multiplot pause -1 "Hit return to continue"