我正在尝试运行trivial八度音例。我在CentOS 6.6上运行octave-4.2.1
当我跑步时:
x = linspace(0, 2*pi, 100);
y = sin(x);
plot(x, y);
当我用
输入plot(x,y)
命令时,Octave意外终止
Program terminated with signal SIGABRT, Aborted.
我想我已经正确设置了GNUTERM:
>> getenv("GNUTERM")
ans = X11
如果我跑:
>> graphics_toolkit("gnuplot")
error: graphics_toolkit: gnuplot version too old.
error: called from
graphics_toolkit at line 88 column 9
问题:如何使用octave-4.2.1解决此问题?这与gnuplot太旧有关吗?