From: Nils on
Hello,

I have a number (12) of isolevels (0 = f(x,y,z = z_i) ) of a surface 0 = f(x,y,z). Now, I want to find dz/dx at the isocurve 0 = f(x = x_a,y,z) for arbitrary x_a. How do I do this? The 12 previously mentioned isolevels are equally spaced and so are the values of y at which the isolevels are specified. So far I have tried using csaps with y and z as the independent variables and so evaluated the derivative dx/dz, with the intention of inverting the values when evaluated at the 0 = f(x = x_a,y,z). However, I can't get the resulting differentiated csaps object to evaluate at the constant x-curves. Any ideas? Would you use a different approach altogether, perhaps based on linear interpolation and no splines whatsoever?

Thanks so much in advance!