f(x) = c - a*exp(-(x-b)**2/d) fix f(x) "csvch1/F0048CH1.CSV" using 4:5 via a,b,c,d plot "csvch1/F0048CH1.CSV" using 4:5, "csvch2/F0048CH2.CSV" using 4:5