af_demag smoothing spline interpolation for plot