我有以下的gnuplot脚本,使用for循环来绘制100个(x,y)格式的数据集到一个图表中。然而,该脚本仅绘制了2个数据集。请问有人能帮忙吗?谢谢。
plotfile = "graph.eps"
set output plotfile
filename(n) = sprintf("%d_mod.int", n)
plot for [i = 400000:4000000:400000] filename(i) u 1:2 title sprintf("%d", i) w lp