本文介绍了Octave-Gnuplot-AquaTerm 错误:设置终端 aqua 增强标题“图 1"...未知终端类型"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过 Homebrew 安装了 Octave 和 gnuplot,并下载了 AquaTerm.dmg.当我尝试绘图时,我收到以下消息:

I've installed Octave and gnuplot via Homebrew, and downloaded AquaTerm.dmg.When I try to plot, I get the following message:

octave:4>绘图(x,y)

gnuplot>设置终端aqua增强标题图1"字体*,6"

                  ^
     `line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list`

在 bash 终端中 set terminalset Terminalset term,(同样的,后面跟着aqua")等等什么都不给.我已经尝试从AquaTerm"已经打开的八度音阶再次绘图,但什么也没有.我试过直接从 gnuplot 绘图,但同样的问题.. 我怎样才能做到这个设置终端 aqua"?

In a bash terminal set terminal, set Terminal, set term, (and the same, followed by "aqua" too) etc gives nothing.I've tried plotting again from octave having the "AquaTerm" already open, but nothing. I've tried plotting directly from gnuplot but same problem.. How can I do this "set terminal aqua"?

Gnuplot 启动消息说终端类型设置为‘x11’"但不知道如何更改它,之前的命令也不起作用.

Gnuplot starting message says "Terminal type set to 'x11'" but no idea how to change it, the previous commands didn't work neither.

因为 AquaTerm 不是从 Homebrew 安装的,所以八度/gnupot 可能找不到它......但不知道.有什么猜想吗?谢谢!

Since AquaTerm wasn't installed from Homebrew maybe octave/gnupot can't find it... but no idea.Any guess? Thanks!

推荐答案

我找到了一种用 Octave 生成​​图的方法,虽然不是使用 AquaTerm 而是 x11.问题是 Octave 正在强迫"gnuplot 使用 aquaterm 进行绘图.不是将 aquaterm 安装并集成到 gnuplot 中,而是以八度输入:setenv GNUTERM x11.有了这个,图是用 x11 生成的,它已经在 gnuplot 的终端列表中(set terminal).我知道这是一个补丁,但最后我不介意 aquaterm 或 x11,我只想生成图

I found a way to generate the plots with octave, although is not using AquaTerm but x11. The problem was that Octave was "forcing" gnuplot to use aquaterm to plot. Instead of installing and integrating aquaterm into gnuplot, in octave typed: setenv GNUTERM x11. With this, plots are generated with x11 which is already in the terminal list of gnuplot (set terminal). I know it's a patch, but finally I don't mind aquaterm or x11, I just want plots to be generated

这篇关于Octave-Gnuplot-AquaTerm 错误:设置终端 aqua 增强标题“图 1"...未知终端类型"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-03 08:56