但是当我编写自己的脚本时
wget -O Deaths.txt http://www.randomservices.org/random/data/Deaths.txt
gnuplot -persist 'plot 'Deaths.txt' with dots'
有错误:
line 0: Cannot open script file 'plot Deaths.txt with dots'
我的终端类型:画布
答案 0 :(得分:0)
正确的命令:
gnuplot -persist -e "plot 'Deaths.txt' with dots"
在运行脚本之前,我们需要一个-e (来自man gnuplot)
-e "command list" executes the requested commands before loading the
next input file.