Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Re: How to Calculatelength of an Spline

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104886] Re: [mg104840] Re: [mg104819] How to Calculatelength of an Spline
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Thu, 12 Nov 2009 06:06:56 -0500 (EST)
  • References: <200911101104.GAA20038@smc.vnet.net>
  • Reply-to: drmajorbob at yahoo.com

Right you are, Mark!

I'm just hitting Send too fast, lately.

Bobby

On Wed, 11 Nov 2009 16:34:33 -0600, Mark McClure <mcmcclur at unca.edu> wrote:

> On Wed, Nov 11, 2009 at 3:32 PM, DrMajorBob <btreat1 at austin.rr.com>  
> wrote:
>> There's a serious bug in Plot, I think.
>> I get the same kernel crash with NIntegrate as you, and I also get a  
>> blank
>> plot (no crash) with
>>
>> data = Table[{n, Fibonacci[n]}, {n, 1, 10}];
>> sp = Interpolation[data, Method -> "Spline"];
>> Plot[sp@x, {n, 1, 10}, PlotRange -> All]
>
> I think you've just got a silly little goof there; your variable in the  
> function
> (sp@x) doesn't match the variable in the domain specification ({n,1,10}).
>
> There is clearly a bug, though.  I corresponded with Dan Lichtblau about
> it off list.  He confirmed the bug but said that is already fixed in the
> development version.
>
> Mark McClure


-- 
DrMajorBob at yahoo.com


  • Prev by Date: Re: Re: Import from web addresses fails
  • Next by Date: Importing Excel File into mathematica
  • Previous by thread: Re: Re: How to Calculatelength of an Spline
  • Next by thread: Re: Re: How to Calculatelength of an Spline