Re: sampling a spline
- To: mathgroup at smc.vnet.net
- Subject: [mg106103] Re: [mg106031] sampling a spline
- From: "David Annetts" <david.annetts at iinet.net.au>
- Date: Fri, 1 Jan 2010 05:37:20 -0500 (EST)
- References: <200912310812.DAA24600@smc.vnet.net>
Hi Charles, > How does one uniformly sample a spline gotten from the > command SplineFit? Did you try Table? Needs["Splines`"] pnt = {{0, 0}, {1, 1}, {2, 4}, {3, 9}, {4, 16}}; spl = SplineFit[pnt, Cubic] tbl = Table[spl[t], {t, 0, 4, .2}] Show[{ ListPlot[pnt, Joined -> True], ListPlot[tbl, PlotStyle -> Red] } ] Regards, Dave.