MathGroup Archive 2005

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

Search the Archive


  • To: mathgroup at
  • Subject: [mg58305] splinefit
  • From: "Bosch, Darrell" <bosch at>
  • Date: Sun, 26 Jun 2005 23:13:08 -0400 (EDT)
  • Sender: owner-wri-mathgroup at
  • Thread-index: AcV6h5tkaMsRP6K+QAWA9zNK1cDtTw==

Dear Group,

I am having trouble getting SplineFit to work.  Here is a simplified
version of what I'm trying to do

GET[  "NumericalMath`SplineFit.m`"]

pts = {{0, 0}, {1, 2}, {2, 2.5}, {3, 2.75}, {4, 2.9}};

spline = SplineFit[pts, Cubic]

ParametricPlot[spline[u], {u, 0, 4}, PlotRange -> All, Compiled -> True]

When I try to run the ParametricPlot, I get an error message stating
"spline[u] does not evaluate to a pair of real numbers at u =
1.6666666666666665", etc

Thanks in advance for your help.  Regards, Darrell Bosch

  • Prev by Date: Re: Help! Delete Casses based on column
  • Next by Date: Thanx and another question on plotting
  • Previous by thread: Re: Help! Delete Casses based on column
  • Next by thread: RE: splinefit