Octave is not being built

When I try to plot a graph on GNU Octave and try to use a graph, it gives me the following output

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 

I am using Mac OS X 10.9.2. I tried using

 octave:79> setenv("GNUTERM","X11") 

but I still get the same error.

+54
plot octave
Apr 6 '14 at 19:07
source share
8 answers

setenv("GNUTERM","qt") on the octave command line, this should fix the problem.

+239
Jul 06 '14 at 13:29
source share

I think your problem is using the CLI.

As of January 2, 2014. If you are using OS / X 10.9 (Maverics), you can select the integrated GUI from the binary package by downloading Octave 3.8.0.dmg . Use Octave-gui not Octave-cli or else run the GUI from the CLI.

A note on gui from Octave Home

But since it is not as polished as we would like, we decided to wait until version 4.0.x before making the GUI the default interface (until then you can use the -force-gui option to start the GUI).

+9
Apr 7 '14 at 1:02
source share

The following has been developed for me

  • Remove any existing gnuplot on your OSX

    brew uninstall gnuplot

  • Install gnuplot with X or X11

    brew install gnuplot --with-x

  • Finally, install GNUTERM in X11

    setenv("GNUTERM","X11")

+7
Aug 12 '15 at 11:54
source share

And if you need an Aqua terminal instead of X11, this can help:

brew uninstall --force gnuplot

brew install gnuplot --with-aquaterm --with-qt4

You do not need to add setenv ("GNUTERM", "X11") or add GNUTERM env.var to the octaverc file.

+4
Dec 13 '15 at 12:14
source share

I also have this problem and can be solved by installing Aquaterm for mac , as mentioned.

ps If you get warnings like "warning: could not match any font: * -normal-normal-10" like me, try checking / usr / local / etc / fonts / fonts.conf

+2
Apr 14 '16 at 2:15
source share

To install it without aquaterm:

 brew cask install xquartz brew install gnuplot --with-x brew install octave vim ~/.octaverc setenv("GNUTERM", "X11") graphics_toolkit("gnuplot"); 
+1
May 9, '17 at 17:30
source share

I have the same problem when using Octave-cli, and I just avoid this using "Octave-gui".

0
Jan 13 '17 at 2:24 on
source share

Download and install Aquaterm.

 sudo wget https://gist.githubusercontent.com/tuvistavie/8466870/raw/9064b4b3dfb3644950b6f5745056f54f8d6e56c6/gnuplot.rb -O /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gnuplot.rb brew uninstall gnuplot brew update && brew upgrade brew tap homebrew/science brew info gnuplot brew reinstall gnuplot --aquaterm --qt --test 

ref worked for me

0
Oct 24 '17 at 18:20
source share



All Articles