Loops gnuplot循环结构中的单标题
当您同时使用for循环时,如何仅为一行指定一个标题 我有以下命令行:Loops gnuplot循环结构中的单标题,loops,plot,gnuplot,Loops,Plot,Gnuplot,当您同时使用for循环时,如何仅为一行指定一个标题 我有以下命令行: plot for [i=1:15] "test.txt" using (i-1):i title "test" lc rgb "red" ps 0.4 lw 0.5 但标题当然重复了15次。我想标题只出现一次。有没有一种方法可以避免这种情况而不使用标签?我已经找过了,但没什么有趣的 省略空标题。只需检查变量i: plot for [i=1:15] "test.txt" using (i-1):i title (i == 1
plot for [i=1:15] "test.txt" using (i-1):i title "test" lc rgb "red" ps 0.4 lw 0.5
但标题当然重复了15次。我想标题只出现一次。有没有一种方法可以避免这种情况而不使用标签?我已经找过了,但没什么有趣的 省略空标题。只需检查变量
i
:
plot for [i=1:15] "test.txt" using (i-1):i title (i == 1 ? "test" : "")