This post has NOT been accepted by the mailing list yet.
imagine I have a 3 colums matrix
x, y, z where z is a function of x and y.
I know how to plot a "scatter plot" of these points with rgl's plot3d(x,y,z)
But if I want a surface instead I must use other commands such as surface3d The problem there is that it doesn't accept the same inputs as plot3d, it seems to need a matrix with
(nº elements of z) = (n of elements of x) * (n of elements of x)
How can I get this matrix? I've tried with the command interp, as I do when I need to use contour plots.
How can I plot a surface directly from x,y,z without calculating this matrix? If I had too many points this matrix would be too big.