0
저는 초보자 프로그래밍으로 파일 이름을 묻는 코드를 작성한 다음 png 파일에 그려 봅니다.파이썬과의 호출 파일 Gnuplot
는#!/usr/bin/env python
#Gnuplot_graficas.py
from numpy import *
import Gnuplot, Gnuplot.funcutils
fileofname = raw_input("enter the file name:") #here type the name of the file
g = Gnuplot.Gnuplot(debug=1)
g('set term png')
g("set output 'fileofname.png'")
Gnuplot.File(fileofname, using='1:2') #here i tried to call the file
도움이
그리고 정확히 귀하의 질문은 무엇입니까? 오류가 발생 했습니까? 아니면 오류가 발생 했습니까? – t0mppa