Showing the figure window with octave
<p>I am a very newbie to octave.</p>

<p>I want to show the figure I plot with octave, but no figure window shows up.</p>

<p>Here is what I want to plot, plot.m</p>

<pre><code>x = load('ex2x.dat');
y = load('ex2y.dat');
figure % open a new figure window
plot(x, y, 'o');
ylabel('Height in meters')
xlabel('Age in years')
</code></pre>

<p>I run the script with the command line directly</p>

<pre><code>octave plot.m
</code></pre>

<p>The dataset can be downloaded from <a href="http://openclassroom.stanford.edu/MainFolder/DocumentPage.php?course=DeepLearning&amp;doc=exercises/ex2/ex2.html" rel="nofollow">http://openclassroom.stanford.edu/MainFolder/DocumentPage.php?course=DeepLearning&amp;doc=exercises/ex2/ex2.html</a></p>

<p>I have installed image package as the site suggested.</p>

<p>My OS is ubuntu 14.04, I am not sure if I miss something.</p>

<p>I appreciate any help.</p>

<p>Thank you!</p>