MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Problem wit cubic spline

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75021] Re: Problem wit cubic spline
  • From: anguzman at ing.uchile.cl
  • Date: Sat, 14 Apr 2007 01:11:07 -0400 (EDT)
  • References: <evn858$qd$1@smc.vnet.net> <461FB3D0.1020404@gmail.com>

That worked !
I'd  defined "Cubic" earlier...
Thanks a lot.

Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com> ha escrito:

> 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



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



  • Prev by Date: Memory issue in Mathematica 5.1 (Windows XP)
  • Next by Date: Re: Problem wit cubic spline
  • Previous by thread: Re: Problem wit cubic spline
  • Next by thread: Re: Problem wit cubic spline