comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » spline_p help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
spline_p help [message #15024] Mon, 12 April 1999 00:00
lbryanNOSPAM is currently offline  lbryanNOSPAM
Messages: 21
Registered: July 1998
Junior Member
Hello all,

I'm having trouble making spline_p work when I have an instance where
I don't have an increase in my x and y array at the same element,
i.e.,

spline_p, x, y, x2, y2
.
.
.
dx = x - shift(x,1) ;Delta x and y
dy = y - shift(y,1) ;dx(i) = x(i) - x(i-1)
dx[0] = 0.
dy[0] = 0.

t = sqrt(dx^2 + dy^2) <== gives t = 0 which causes the procedure
to fail later in the code.

I think I am going to need to artifically modify my data or change the
spline_p code to work with the data the way it is. Before I get too
far into either I'd figure I'd ask here, since I have a tendancy to
miss something obvious! Any other suggestions?

Lisa Bryan
Arete Associates
Tucson, Arizona
lbryan@arete-az.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Help on including files
Next Topic: CDF question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:22:51 PDT 2025

Total time taken to generate the page: 0.00650 seconds