I try to plot a data with an exponentiel regression :
set terminal postscript enhanced color
set output 'fichier.ps'
set logscale y
set logscale x
set format y "10^{%L}"
set format x "10^{%L}"
set key inside right top
set xlabel " lines "
set ylabel " Time(nanoseconds)"
f(x) = a + b*exp (x)
fit f(x) 'fichier.csv' using 16:17 via a, b
plot 'fichier.csv' using 16:17 with points title "title" lw 3 pt 4 linecolor rgb "#FF0000", f(x) with lines title "regtitle" linecolor rgb "#000000" lw 3
I have this error :
Max. number of data points scaled up to: 3072
Undefined value during function evaluation
and i run on gnuplot 4.4
how to resolve problem ?
xget? Is it possible thatexp(x)results in an overflow? Another thing you could try is setting an initial guess for your values ofaandb. You do this simply by setting those variables before you issue yourfitcommand:a=1.0;b=1.0exp(709.)andexp(710.), but yourxvalues might need to be smaller than that since it also gets multiplied bybwhich could be bigger than 1.