Check sample intervals
Added gnuplot script