Cubic Spline? Anyone?
Posted: Mon Aug 24, 2020 6:07 pm
Hi.
I have been using the graph widget but I would like to convert a scattered set of points (X,Y) to a smooth curved line (like in the attachment).
So, giving up the graph widget, I did some research and I realized that:
- my math sucks
- probably i need to do "cubic spline interpolation" (!?)
Somebody has done this already or is willing to share some simple math example?
Thanks
(I've seen the BezieCurve in the Rasberry section but I am not sure if is the correct example to study)
I have been using the graph widget but I would like to convert a scattered set of points (X,Y) to a smooth curved line (like in the attachment).
So, giving up the graph widget, I did some research and I realized that:
- my math sucks
- probably i need to do "cubic spline interpolation" (!?)
Somebody has done this already or is willing to share some simple math example?
Thanks
(I've seen the BezieCurve in the Rasberry section but I am not sure if is the correct example to study)