import tool.Graph3D; import Math; // Necessary for using the sin function // Open the coordinate data file "test.txt" in tab-separated read mode int fileID = open("test.txt", READ_TSV); // Get the number of lines in the file int lineN = countln(fileID); double x[lineN]; // Numeric array to store X values for all lines double y[lineN]; // Numeric array to store Y values for all lines double z[lineN]; // Numeric array to store Z values for all lines // Loop through each line in the file for(int i=0; i