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

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

    set title sprintf("Polinômio de Taylor no ponto %f ",a)
    

    or the English variant

    set title sprintf("Taylor Polynomial at the point %f ",a)
    

    will define the title transforming the number a into the previous string I have use this in a loop, with the Taylor Polynomial calculated previously at the point a, where a containing a number is the governing variable of the while.

提交回复
热议问题