创建后Gnuplot脚本消失 [英] Gnuplot script disappear after creation
问题描述
我有一个gnuplot脚本.我的系统是ubuntu 14.04.当在终端中时,键入gnuplot myPlot
.剧情将消失.它不会保留在屏幕上.我在这个堆栈中看到了类似的问题.但是它的系统是Windows.我想知道在ubuntu 14.04 32位
I have a gnuplot script. My system is ubuntu 14.04. When In the terminal I type gnuplot myPlot
. The plot will disappear. It is not remain on the screen. I this stack in saw similar question. But its system is windows. I want to know is there any solution for that on ubuntu 14.04 32 bit
PS:当我使用gnuplot>
时-我的意思是当我不使用脚本文件时-我看到该图并且它不会消失.
PS: when I use gnuplot>
-- I mean when I do not use script file-- I see the diagram and it does not disappear.
PS2:这是我简单的gnuplot脚本文件:
PS2 : this is my simple gnuplot script file :
set boxwidth 0.5
set style fill solid
plot "dataFile" using 1:2:xtic(2) with boxes
推荐答案
如果希望绘图窗口保持打开状态,则必须使用-persist
标志调用gnuplot:
If you want the plotting window to remain open, you must call gnuplot with the -persist
flag:
gnuplot -persist myPlot
这篇关于创建后Gnuplot脚本消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!