s = new Spreadsheet(); importData("ternary.dat"); s.setCurrentColumn(2); s.setProperties("Z",2,0); s.plot3DTernary(); exportPlot("test.png","PNG");