MathGroup Archive 2007

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

Search the Archive

Re: Problem wit cubic spline


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