我正在编写一个脚本,逐个从多个文件中绘制多个文件。我还想保存每个图的输出与数据文件相对应。我们如何将两个参数都传递给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
这个脚本将由另一个生成所需文件名的shell脚本运行。
非常感谢您的帮助。
-e
选项的官方文档吗?我已经搜索了几个小时,但还没有找到。 - Wolf