Excel uses a spline function to achieve this result. You can do something similar in Igor by interpolating your data. Go to Analysis => Interpolate and choose Cubic Spline as Type (you can also try out Smoothing Spline and see if you like that better).
Excel uses a spline function to achieve this result. You can do something similar in Igor by interpolating your data. Go to Analysis => Interpolate and choose Cubic Spline as Type (you can also try out Smoothing Spline and see if you like that better).
July 18, 2023 at 07:42 pm - Permalink
In reply to Excel uses a spline function… by chozo
OMG Thank you so much.
I tried two options of interpolation, cubic and smoothing.
In my case, the cubic spline seemed better than the Smoothing spline.
It seems that the choice of the best option may vary depending on plot by plot.
July 18, 2023 at 09:25 pm - Permalink
I think that Excel uses a Catmull Rom spline
July 19, 2023 at 02:12 am - Permalink
Yes, that is correct. If you want to get the same curve as Excel, use the code from Tony (of course you already had something like this ready ;).
July 19, 2023 at 02:58 am - Permalink