refactoring: use errorlines option

refactoring gnuplot script file using 'errorlines' option
fixed #223