Question: plot3d points

Hi all,

i produse an out put file by fortran, i want to draw it 3d. but i just able to plot it as the matrix that it is not usefull for me,like these:

> phi := ImportMatrix("E:\\POTENTIAL FOR MAPLE", source = delimited, delimiter = " ", format = rectangular, datatype = float[8], transpose = true, skiplines = 0);
                         phi:=Matrix(%id = 150565616)
> with(plots); matrixplot(phi, axes = boxed, style = patchnogrid, orientation = [-90, 0]);

because I want the X,and Y values of points coorespond to the X and Y values of the plot.

 so i used these way:

> phi := ImportMatrix("E:\\POTENTIAL FOR MAPLE-X,Y,POT", source = delimited, delimiter = " ", format = rectangular, datatype = float[8], transpose = false, skiplines = 0);
                         ?:=Matrix(%id = 151091644)
> with(plots); pointplot3d([seq([phi[i, 1], phi[i, 2], phi[i, 3]], i = 1 .. 10100)]);
 

these is not bad but points is separated from each other. i want a 3d surface or contour  plot.


i need help.

thanks alot.

Please Wait...