working in the another plot
spline of the second function