10
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Mac の Octave (CLI) でのターミナルタイプの設定

Posted at

Octave-cli を Mac で使うとき、plot() などでグラフを表示しようとすると、次のエラーに遭遇することがあります。

gnuplot> 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

Plotting Data ...
Program paused. Press enter to continue.

これは AquaTerm が正しくインストールされていないために発生するエラーです。AquaTerm を入れなおしてから Octave-cli (もしくはgnuplot だけ) を再度インストールするか、~/.octavercsetenv("GNUTERM", "qt") などと書いて、違うターミナルタイプを使うように指示することで回避できます。

10
4
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?