This is quite limiting and perhaps a better method is the PPC ROM's CV program.
CV does the same curve fitting (including selecting the best fit ) without this restriction for curves where negative co-ordinates are appropriate.
It also gives the function of calculating an estimated x value from an entered y, which CFIT doesn't do.
Advantage Pac functions for statistical curve fitting.
CFIT program provides the functions to fit statistics data to LIN, Exp, LOG, Power and Best Fit
XEQALPHACFITALPHA
CFIT to a CST menu entry to make it easier to accessCLΣ)Y, ENTER, X, A(Σ+)FIT)L = LinearLOG = LogarithmicEx = ExponentialP = PowerB = Best Fita, b, R^2 (error ratio)x value to find the curve-fitted y valueL LOG Ex P B to try a different fit to the same datay = a + bxy = aebxy = a + b ln(x)y = a xb| X | 0.72 | 1.31 | 1.95 | 2.58 | 3.14 |
| Y | 2.16 | 1.61 | 1.16 | 0.85 | 0.5 |
CFITCLΣ2.16 ENTER 0.72 A (Σ+)1.61 ENTER 1.31 A (Σ+)1.16 ENTER 1.95 A (Σ+)0.85 ENTER 2.58 A (Σ+)0.5 ENTER 3.14 A (Σ+)FIT)B) best fitLOGa = 1.8515b = -1.1021r^2 = 0.9893X=?y1.5 R/SY=1.4046L, Ex etc) or
the curve found is y = 1.8515 - 1.1021 ln(x)
— John Pumford-Green 31/07/24 14:46 BST