コメント欄で教えていただきました。
setenv('GNUTERM','qt') # Default graphics terminal with Octave GUI
setenv('GNUTERM','x11') # Requires XQuartz; install gnuplot --with-x
setenv('GNUTERM','wxt') # wxWidgets/pango; install gnuplot --wx
setenv('GNUTERM','aqua') # Requires AquaTerm; install gnuplot --with-aquaterm
setenv('GNUTERM','dumb') # Console
Compiling Octave 3.8 for Ubuntu | Michael Hirsch見ながら やったが、エラー
ATL_ってシンボルが無いと怒られる
sudo update-alternatives --set liblapack.so.3gf /usr/lib/lapack/liblapack.so.3gf
これで、先に進めた
ほぼそのまま動いた
pkg load signal
t = 0:1e-4:1;
x = 2.5+cos(2*pi*100*t);
y = hilbert(x);
plot(t,real(y),'b','linewidth',2);
hold on;
plot(t,imag(y),'r','linewidth',2);
set(gca,'xlim',[0 0.1]); grid on;
xlabel('Seconds');
hold off
plot3(t(1:1e3),real(y(1:1e3)),imag(y(1:1e3)));
xlabel('Time','fontsize',14); ylabel('Re{z(t)}','fontsize',14);
zlabel('Im{z(t)}','fontsize',14);
pkg install -forge image
pkg load image
Ubuntu12.04ではCompiling Octave 3.8 for Ubuntu | Michael Hirschの通りで、すんなりインストール出来た。その通りだと/opt/octave以下にインストールされるんだが。。)
The updated URL is
https://www.scivision.co/compiling-octave-4-on-ubuntu/