How does one create a 3D plot in maple of points generated for a 3D surface using another programming language such as Java or C++. IOW, I want to use Maple to read a file of data for a 3D plot.
readdata and listplot3d
In Maple the 'plot[pointplot]' command is used to generate 3D point plots. The
provided data should be a set or a list.
E.g.
If your data-file look like this:
then this creates a 3D-point plot:
restart; readlib(readdata): l:=readdata(`ram:plot1.data`,3): with(plots): pointplot(l,axes=frame,title=`testplot`);
Additional options (axes, title,labels, orientation, projection, view, color,...) are available.
For a surface plot have a look at this:
cosdata is a list of lists
several other options are available - see plot/plot3d
So if you provide the surface data in an appropriate format, it should be easy to generate an impressive plot.