2016-10-31 20 views
0

我嘗試通過以下方式來執行的gnuplot執行gnuplot的:我有一個名爲orden.txt包含以下內部存檔:splot '30.dat'試圖從CMD

我做gnuplot < orden.txtcat orden.txt | gnuplot但在這兩種情況下的gnuplot隨即打開,然後關閉。那就是問題所在。我能做什麼?

謝謝。

+0

在當前目錄中存在'30.dat'文件? – clemens

+0

@macmoonshine是的,它的確如此。 – UnPerrito

回答

0

使用-p或--persist選項,這將保持窗口打開,直到手動關閉。

gnuplot -p <orden.txt 
+0

它的工作!謝謝! – UnPerrito

+0

Ups,有一個小問題。現在我不能旋轉圖(在gnuplot中)。任何建議? :( – UnPerrito