小编Lor*_*shi的帖子

警告:使用"未知"终端进行绘图.不会生成任何输出.请选择带有"设置终端"的终端

我正在学习斯坦福大学Andrew Wu的伟大机器学习课程.当我在ex5文件中执行plot函数时,octave cli命令行会报告以下警告:

set terminal aqua enhanced title "Figure 1" size 560 420  font "*,6" 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'.
Run Code Online (Sandbox Code Playgroud)

计算有效,但所有图表都没有绘制.我尝试设置终端qt或其他像x11,但没有一个工作.这篇文章中的解决方案无法在Mac OS上的gnuplot Octave中找到x11终端也无法正常工作.

我的mac是Yosemite 10.10.3我的gnuplot是

G N U P L O T
Version 5.0 patchlevel 1    last modified 2015-06-07 
...
Terminal type set to 'unknown'
Run Code Online (Sandbox Code Playgroud)

我的XQuartz …

macos gnuplot

11
推荐指数
3
解决办法
1万
查看次数

标签 统计

gnuplot ×1

macos ×1