smoothing a line between points plot.

I drew a line between points plot.

This graph is a kind of jagged line.

But, I want to smooth this graph like Excel "smoothed line"

I add an Excel example of this problem.

 

How can I solve this problem in Igor pro?

right: jagged line / left: smoothed line(which I want to draw)
chozo

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).

chozo

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 ;).