【发布时间】:2023-03-08 07:54:01
【问题描述】:
我想从数据文件列表中自动生成图表。
更多细节: 我有一个包含我所有数据文件的目录。我需要为每个文件(数百个)生成一个图表。我有一个 gnuplot 文件来生成一个图形,但数据文件的名称在 gnuplot 脚本中指定。
例如:
plot 'myfile' index 1 using 1:2 with linespoints pointtype 2 linecolor rgb "green" title "leg"
我需要能够将“myfile”替换为可以在我目录的所有文件上迭代的变量名。
【问题讨论】:
标签: windows bash automation gnuplot