Octave does not plot

user2472071 picture user2472071 · Apr 6, 2014 · Viewed 39.2k times · Source

When I try to plot a graph on GNU Octave, and try to use plot, 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 have tried using

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

but I still get the same error.

Answer

Cheng Long picture Cheng Long · Jul 6, 2014

setenv("GNUTERM","qt") in your octave command prompt, it should solve the problem.