spline_p help [message #15024] |
Mon, 12 April 1999 00:00 |
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
|
|
|