// Tests the fit macro code returned by Fit.getEquation(). // For each fit type, it writes two numbers: the result of // evaluating the macro code and the value returned by Fit.f(). // Requires ImageJ 1.52v or later. xpoints=newArray(1,2,3,4,5,6,7,8,9); ypoints=newArray(1.1,2.2,3.4,4.7,6,7.5,9,10,8); for (t=0; t