小智 3
您可以将数字重定向到文件并使用 gnuplot 的重读命令或手动按e绘图窗口定期读取该文件。
shell$ command > points.dat
Run Code Online (Sandbox Code Playgroud)
在 gnuplot 中
gnuplot> plot "points.dat" using 1:2
Run Code Online (Sandbox Code Playgroud)
并按e窗口进行更新,或者查看示例
gnuplot> help reread
Run Code Online (Sandbox Code Playgroud)