Your question is not completely clear to me. Are you looking for a way to interpolate between different points that define your curve? Or do you wish to fit the curve to some function? Please try to explain in a bit more detail what you need.
Ok. Suppose I want to plot sinx using python, by plot command Python will plot it. But what I am trying to say is we have to show as x changes sin(x) also change using two points, I hope you had followed.>>>