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

后端 未结 5 2170
别跟我提以往
别跟我提以往 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:45

    How about something like this? The loop statement could be different depending on the shell you are using. The one below is using bash.

    plot '< for i in 1 2 3 4 ; do echo $i ; done' us ($1):($1+1)
    

提交回复
热议问题