gnuplot:在注释行后换行 [英] gnuplot: line break following a comment line
本文介绍了gnuplot:在注释行后换行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为什么此代码不起作用?
Why this code doesn't work?
plot \
#sin(x),\
cos(x)
错误信息是
plot
^
"a.plt", line 3: function to plot expected
gnuplot --version
gnuplot --version
gnuplot 5.0 patchlevel 0
推荐答案
该代码不起作用,因为注释行末尾的\
使gnuplot还将下一行也视为注释.请参阅有关注释的文档.
That code doesn't work, because a \
at the end of a comment line makes gnuplot treat the next line also as comment. See the documentation about comments.
这篇关于gnuplot:在注释行后换行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文