我如何使wgnuplot.exe在.plt文件末尾终止? [英] How do i make wgnuplot.exe terminate at end of .plt file?
问题描述
我在Windows上使用gnuplot.当我直接通过双击执行我的filename.plt文件时,它会生成一个wgnuplot.exe实例,该实例在完成后不会终止.
I'm using gnuplot on Windows. When I execute my filename.plt-file directly via double clicking it spawns an instance of wgnuplot.exe, which doesn't terminate after finishing.
我的代码非常简单,仅打印为pdf.
My code is very simple like this and just prints to a pdf.
你们谁知道在完成文件后如何使wgnuplot.exe自动终止? 谢谢
Do any of you know how I can make wgnuplot.exe terminate automatically after finishing the file? Thanks
推荐答案
我也看到了这个问题,该问题已通过4.6.5测试.奇怪的是,在文件末尾放置exit
无效(在wgnuplot
shell中键入exit
将其关闭).
I do also see this problem, tested with 4.6.5. Strangely it doesn't work to put an exit
at the end of the file (typing exit
in the wgnuplot
shell closes it).
对我来说,如果我将gnuplot.exe
二进制文件而不是wgnuplot.exe
与.plt
文件关联起来,效果很好.
For me it works fine if I assiciate the gnuplot.exe
binary instead of wgnuplot.exe
with .plt
files.
这篇关于我如何使wgnuplot.exe在.plt文件末尾终止?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!