0

I have a data file, and a gnu file, in which my plotting commands are.

How can I produce a plot in gnuplot, in a way that I call gnuplot giving it a name of the gnu file ... it gives me the window with a plot ... and after I close it, it returns me not to gnuplot command prompt, but to cmd (windows cmd.exe) command prompt ?

4

1 回答 1

0

从脚本(使用)启动 gnuplot 时,有 3 个解决方案(用于生成持久图gnuplot script.gnuplot)。

  • 在 gnuplot 脚本的末尾使用 a pause -1(在绘图之后),这样用户需要在 gnuplot 破坏带有绘图的窗口之前按 enter
  • 用于gnuplot script.gnuplot -在脚本完成后进入 gnuplot 的交互模式
  • 使用-persist命令行选项创建一个持久的绘图窗口
于 2011-01-10T09:54:54.127 回答