Re: Problem wit cubic spline
- To: mathgroup at smc.vnet.net
- Subject: [mg75013] Re: Problem wit cubic spline
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Sat, 14 Apr 2007 01:06:54 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <evn858$qd$1@smc.vnet.net>
anguzman at ing.uchile.cl wrote: > Hello: > I'm using Mathematica 5 and I'm having some problems with SplineFit > I run : > <<NumericalMath`SplineFit` > > pts = {{0,0},{1,2},{-1,3},{0,1},{3,0}}; > > > spline = SplineFit[pts, Cubic] > > > SplineFit[{{0,0},{1,2},{-1,3},{0,1},{3,0}},Cubic] > > That is, it didn't recognize the last command...The graphic doesn't > work either. > With Bezier (or CompositeBezier) there is no problem. > > spline = SplineFit[pts, Bezier] > > SplineFunction[\[InvisibleSpace]Bezier\[InvisibleSpace], \[InvisibleSpace]{0., > 4.}\[InvisibleSpace], <>] > > And Graphics works fine.... > I tried to run the commands directly from the Help Browser and it > didn't work.. > > Does anybody has the same problem? > Thanks in advance > > Atte. Andres Guzman Evaluate the following expressions Remove[SplineFit, Bezier, CompositeBezier, Cubic] << "NumericalMath`SplineFit`" before using the package. Regards, Jean-Marc