[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: showing graphics from command line run

From: Jordi Gutiérrez Hermoso
Subject: Re: showing graphics from command line run
Date: Mon, 4 Apr 2011 15:28:32 -0500

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.

If that doesn't work, tell me what happens and what version of Octave
you're using on what OS.

- Jordi G. H.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]