Replying to myself...sorry.

It seems that the easiest way for now is to call SciPy:

using PyCall
@pyimport scipy.interpolate as interpolate
t = collect(0:.1:1)
x = sin(2π*t)
y = cos(2π*t)
p = Array[]
push!(p, x)
push!(p, y)
tck, u = interpolate.splprep(p, s=0)
unew = collect(0:0.01:1)
out = interpolate.splev(unew, tck)

using Winston
plot(x, y, "o", out[1], out[2], "-r")

BTW, is there an easier way to create an array of vectors?

Cheers,
Kaj

On Saturday, March 19, 2016 at 4:13:19 PM UTC+2, Kaj Wiik wrote:
>
>
> Is there a Julia package that implements parametric splines? 
>
> I noticed that the Dierckx Fortran library has an implementation but the 
> corresponding Julia package does not does not have bindings for it.
>
> Thanks,
> Kaj
>

Reply via email to