I am trying to do a 3d plot from 3 datapoints from a text file. I have the file DATA with 4000 data points in the following format:
-1 -1 2
-1 -0.976522 2
-1 -0.952609 2
-1 -0.915507 2
Where columns respectivly are the x, y, and z values that I want plotted. I figured that this command should plot the points:
listplot3d(readdata("DATA",3), axes=boxed, labels=[x, y, z]);
I do get a graph here, but instead of plotting the points x, y, z, I get the x value correspoindng to the line number, a y value that seems to be the value of the y column + 2, and the actual z value that I want. So, my question is, how do I just plot the three values that I am inputting?