How do I convert an integer to a string in gnuplot?

后端 未结 5 2150
别跟我提以往
别跟我提以往 2021-02-14 05:14

I know how to use $ with using in examples like

plot datafile using f($1):g($2)

to plot functions of column data. But

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-14 05:43

    Are you looking for something like:

    plot for [c=1:5] datafile using (column(c)):(column(c+1))
    

    This will do: plot datafile u 1:2, "" u 2:3, "" u 3:4, "" u 4:5, "" u 5:6

提交回复
热议问题