gnuplot:x11终端处于“交互模式"从外壳调用gnuplot时 [英] gnuplot: x11 terminal in "interactive mode" while calling gnuplot from shell
本文介绍了gnuplot:x11终端处于“交互模式"从外壳调用gnuplot时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想用shell命令调用gnuplot,所有命令都存储在"load.gp"中.
I want to call gnuplot with a shell command, all the commands are stored in, let's say, "load.gp".
如果我启动gnuplot外壳并键入"load'load.gp'",则可以通过用鼠标拖动该图来更改视点.
If I start the gnuplot shell and type "load 'load.gp'" I can change the viewpoint by dragging the splot with the mouse around.
问题是,如果不进入gnuplot外壳,我无法弄清楚如何达到目标.
The Problem is, I can't figure out how to reach that without being in the gnuplot shell.
echo "load 'load.gp'" | gnuplot -persist
或
gnuplot -persist 'load.gp'
不起作用.有人可以帮我吗?
won't work. Can somebody help me?
谢谢Jan
推荐答案
我认为
gnuplot load.gp -
做您想要的.
这篇关于gnuplot:x11终端处于“交互模式"从外壳调用gnuplot时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文