gnuplot how to give column number to plot dynamically?

前端 未结 3 1471
清酒与你
清酒与你 2021-01-15 15:33

I am automating a task to create small graphs using gnuplot. And I need to pass the column number from the datafile that is to be plotted

pfile=system(\"echo         


        
3条回答
  •  醉话见心
    2021-01-15 16:07

    it seems that one has to do colnum=int(system("echo $colnum")) so that the variable colnum is interpreted as an integer and not a string

提交回复
热议问题