我正在编写一个脚本,一次一个地从多个文件中绘制多个文件.我还想保存与数据文件对应的每个绘图的输出.我们如何为GNUPlot提供两个参数.例如:示例GNUPlot脚本
set xlabel "a"
set ylabel "b"
set zlabel "c"
set term postscript
set output "??" #'??' implies variable i.e. take file name from commandline
splot "??" with points,"??" with points #'??' implies variable i.e. take file name from commandline
Run Code Online (Sandbox Code Playgroud)
此脚本将由另一个生成所需文件名的shell脚本运行.
任何帮助赞赏.