使用以下gnuplot脚本
set logscale y
set title "Residuals"
set ylabel 'Residual'
set xlabel 'Iteration'
plot "< cat log | grep 'solving for p' | cut -d ' ' -f9 | tr -d ','" title 'p' with lines,\
pause 1和这个版本
$ gnuplot --version
gnuplot 4.6 patchlevel 2我得到以下错误:
"residuals", line 6: undefined variable: pause我怎么才能修复它呢?
发布于 2020-07-20 19:34:40
您的plot命令不正确,因为该行以",\“结尾,这意味着您的行正在继续,而pause被视为传递给plot的变量。所以暂停是不存在的。
我建议删除",\“。
https://stackoverflow.com/questions/62994267
复制相似问题