set data style lines set grid x set grid y set title "Voltage(poti)" set xlabel "poti" set ylabel "Voltage, V" plot [2:99] "poti_cal_volt" using 1:2 title "1.8Vd", \ "poti_cal_volt" using 1:3 title "1.8Va", \ "poti_cal_volt" using 1:4 title "3.3Vd", \ "poti_cal_volt" using 1:5 title "3.3Va" pause -1 f(x)=a*x+b set title "V 1.8 digital" fit [2:99] f(x) "poti_cal_volt" using 1:2 via a, b plot [2:99] "poti_cal_volt" using 1:2 with points, f(x) with lines pause -1 set title "V 1.8 digital deviation" plot [2:99] "poti_cal_volt" using 1:($2-f($1)) with lines pause -1 set title "V 1.8 analog" fit [2:99] f(x) "poti_cal_volt" using 1:3 via a, b plot [2:99] "poti_cal_volt" using 1:3 with points, f(x) with lines pause -1 set title "V 1.8 analog deviation" plot [2:99] "poti_cal_volt" using 1:($3-f($1)) with lines pause -1 set title "V 3.3 digital" fit [2:99] f(x) "poti_cal_volt" using 1:4 via a, b plot [2:99] "poti_cal_volt" using 1:4 with points, f(x) with lines pause -1 set title "V 3.3 digital deviation" plot [2:99] "poti_cal_volt" using 1:($4-f($1)) with lines pause -1 # MCM tester only set title "V 3.3 analog" fit [2:99] f(x) "poti_cal_volt" using 1:5 via a, b plot [2:99] "poti_cal_volt" using 1:5 with points, f(x) with lines pause -1 set title "V 3.3 analog deviation" plot [2:99] "poti_cal_volt" using 1:($5-f($1)) with lines