1 | initial version |
Just after posting my other answer, I noticed that sage does include functionality for generating 3D plots from lists of data: see list_plot3d
. Perhaps by looking at the code you can see what interpolation function is being used, and use that instead of the naive interpolation wrote above.