# -*- coding:utf-8 -*- import os filename = "data04.plt" f = open(filename, 'w') str = """ set terminal png\n set output 'data04.png'\n plot 'data04.dat' using 1:2 with linespoints\n """ f.write(str) f.close() os.system("gnuplot %s" % filename)
0 件のコメント:
コメントを投稿