plot with spline