MATLAB: How to plot interpolation line besides nodes

have a interpolation line between nodes on a graph

I have a plot() order in my program and I want to have interpolation line on the graph besides specific nodes which are evaluated before. How can I do it?
I like to have spline interpolation.

Best Answer

>> t=spline(X,Y,h);
>> plot(X,Y,'*',h,t)
Related Question