当我这样做时:
$ gnuplot
> set term x11
> plot x*x
Gnuplot 正确打开了一个带有绘图的窗口,一切正常。
但是,当我尝试这个时:
$ gnuplot -e "set term x11; plot x*x"
窗口只会闪烁并立即消失。
.
我都试过了gnuplot --persist
,set term x11 persist
但都没有奏效。
我在 Windows 10 上的 Ubuntu 中运行 Gnuplot,Xming 作为 X 服务器。