i am following the great machine learning course given by Andrew Wu from Stanford. When I executed plot function in ex5 file, the octave cli command line reports the following w
1) Open up terminal and try running
gnuplot
2) In gnuplot, run the command
set terminal
This should list all your available terminal types.
3) In octave, pick an available gnuplot terminal type and run setenv(). For example this could be
setenv('GNUTERM','qt')
setenv('GNUTERM','x11')
Hope this helps someone!
Try reinstalling gnuplot
--with-qt
, e.g.
brew reinstall gnuplot --with-qt
I faced the same issue last night. The simplest solution I could find was to set terminal to qt
from Octave.
setenv('GNUTERM','qt')
Now you can call plot
as usual.
for me, what fixed it was:
brew install Caskroom/cask/aquaterm
brew upgrade gnuplot --with-aquaterm --with-qt4