GNU Octave 报告:OS X 上的终端类型未知或不明确

GNU Octave reports: unknown or ambiguous terminal type on OS X

我正在尝试在 OS X 10.10.5 上使用 Octave 和 GNUPlot 绘图。我通过自制软件安装了 Octave 和 GNUPlot,但是当我尝试绘图时出现以下错误

gnuplot> set terminal aqua enhanced title "Figure 1" size 560 420  font "*,6.66667" dashlength 1
                  ^
line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list
WARNING: Plotting with an 'unknown' terminal.
No output will be generated. Please select a terminal with 'set terminal'.

我的解决方案是安装 aquaterm,例如

brew install Caskroom/cask/aquaterm

然后

brew reinstall gnuplot --with-aquaterm