macOS系统安装gnuplot(解决Terminal type set to unknown)

macOS 下使用 Homebrew 安装 gnuplot

brew install gnuplot

在 terminal 中输入gnuplot进入模式之后,提示_Terminal type set to unknown_,不能 plot。

解决方法:

brew uninstall gnuplot
brew install gnuplot --with-x11

重新在 terminal 中输入 gnuplot发现:Terminal type set to 'x11',问题解决。

原文地址:https://www.cnblogs.com/yaos/p/6940486.html