Plotting a function directly from a text file

后端 未结 3 839
遥遥无期
遥遥无期 2020-12-18 02:05

Is there a way to plot a function based on values from a text file?

I know how to define a function in gnuplot and then plot it but that is not what I need. I have a

3条回答
  •  孤城傲影
    2020-12-18 02:36

    awk '/1/ {print "plot "$2"*x**2+"$3"*x+"$4}' | gnuplot -persist
    

    Will select the line and plot it

提交回复
热议问题