coding Shift_JIS; // 3次元グラフを扱うのに必要 import tool.Graph3D; // サンプル座標値ファイルの書き出し("wtsv"はタブ区切り書き出し) int file = open("sample3d.txt", "wtsv"); for(int i=0; i<=10; i++){ float x = i; float y = x*x; float z = x+y; writeln(file, x, y, z); } close(file); // 3次元グラフを起動 int graph = newGraph3D(); // ファイルを3次元グラフにプロット setGraph3DFile(graph, "sample3d.txt");