I was trying to fit the following points:
points = {{28.8729, 57.1427}, {28.8752, 57.1733}, {28.8784, 57.2011},
{28.8815, 57.2283}, {28.8816, 57.1297}, {28.8858, 57.1148}, {28.8867,
57.2515}, {28.8859, 57.208}, {28.8926, 57.1102}, {28.894,
57.2801}, {28.8934, 57.2432}, {28.8991, 57.0976}, {28.9076,
57.1042}, {28.9108, 57.3016}, {28.9143, 57.1039}, {28.9135,
57.0916}, {28.9191, 57.0501}, {28.9193, 57.3147}, {28.9256,
57.0781}, {28.9276, 57.0447}, {28.9356, 57.0395}, {28.9392,
57.3384}, {28.9433, 57.0234}, {28.9508, 57.0259}, {28.9582,
57.3489}, {28.9621, 57.0147}, {28.9736, 57.0092}, {28.9771,
57.3778}, {28.9791, 56.9927}, {28.9913, 56.9889}, {28.9971,
57.4146}, {28.9994, 56.9892}, {29.0084, 56.9813}, {29.0108,
57.4304}, {29.0166, 56.9784}, {29.0233, 56.9603}, {29.0247,
56.9741}, {29.0341, 56.9741}, {29.0425, 56.98}, {29.0495,
56.9795}, {29.0581, 56.9782}, {29.0678, 56.9751}, {29.0751,
56.9879}, {29.0821, 57.0118}, {29.0915, 57.0134}, {29.1001,
57.0207}, {29.1071, 57.0237}, {29.1065, 57.009}};
ListPlot[points]
The objective is to reach a function that fits the points, something similar to this:
In my understanding, this looks like a right-pointing parabola:
So I tried this function, but it didn't work (the fit was inaccurate):
curveFit = Plot[57.01032231556321` +
4.524767722795246` *(-29.0814390274144`+x)^2,
{x,28,29.33}, PlotStyle -> Orange];
Show[points, curveFit]
So I decided to try to fit an ellipse or circle instead, but I don't know how to do it in an automated way (maybe like a Monte Carlo simulation). So I drew an ellipse on top of the points:
h=29.01(*x-coordinate of the center*);
k=57.175(*y-coordinate of the center*);
a=0.13(*radius along the x-axis*);
b=0.2(*radius along the y-axis*);
ellipse=ParametricPlot[{h+a Cos[t], k+b Sin[t]},
{t,0,2 Pi}, PlotRange->All, AxesLabel->{"x","y"},
AxesOrigin -> {h-a, k-b}, PlotStyle->Orange]
Show[ellipse, points]
I hope anyone can guide me on the right way to proceed.
points
, I doubt anyone can verify their candidate method. $\endgroup$