> > you can go just like: > > > y=[ig[x] for x in Xq]; # evaluate using list comprehension > > and using PyPlot's plot: > > plot(Xq, y) > > > <https://lh3.googleusercontent.com/-sO0rkihYqAA/U0zd9Uq1V6I/AAAAAAAAAEM/dk7ofDhqF6s/s1600/plot1.png> > > > if you want to smooth the plot you can use e.g. *InterpQuadratic *and > increase you Xg: > > X = [3:15] > V = sin(X); > Xq = [4:.05:12] > > ig = InterpGrid(V, BCnil, InterpQuadratic); > > plot(Xq, [ig[x] for x in Xq]) >
<https://lh5.googleusercontent.com/-TIyI2AjqGqI/U0zeCcd7xsI/AAAAAAAAAEU/CN3mOQbyaOI/s1600/plot2.png> hope that helps.
