import tool.Graph3D; int graphID = newGraph3D(0, 0, 700, 700, "Graph"); // Loop through variable i from 0 to 100 for (int i=0; i<=100; i++) { // Plot and save the i-th sequential coordinate data file to an image setGraph3DFile(graphID, "./test/test" + i + ".csv"); exportGraph3D(graphID, "./test/test" + i + ".png", "PNG"); // Sleep for 100 milliseconds (animation delay) sleep(100); }