On 3 April 2011 01:28, Yury Tarasievich<address@hidden> wrote:
How do I get the graphics (plot) window showing if octave script is executed
from command line? I.e., the sombrero instruction seems to go through the
correct stages (AFAICT from the `octave -V -x` output) but shows no graphics
window.
(I really need to add this to the official FAQ...)
What's most likely happening is that the Octave process is finishing
when it finishes executing your script, so it also closes the window
it spawned. Tell Octave to wait by adding a pause command to your
script after the plot command.