[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Drawing a curve from standalone skript
From: |
Martin Helm |
Subject: |
Re: Drawing a curve from standalone skript |
Date: |
Thu, 5 May 2011 18:27:27 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
Am Donnerstag, 5. Mai 2011, 18:15:57 schrieb Thomas Ilnseher:
> Hello list,
>
> I Have a small question:
>
> I've written a standalone script (aka with #!/usr/bin/octave -qf in the
> first line, chmod'ed to +x), and it does plot a lot of stuff.
>
> It does not open a plot window by default, only if I do pause.
>
> While this generally is a very good idea, in this special case it is
> undesirable, because I use zenity for user input. So the user has to
> click into the terminal window, press a keyboard button, and then click
> around with the mouse again.
>
> Is there anything I can do to get the plot window drawn, without the
> side-effect of pause (ie. that you have to press a key)?
>
>
> Thanks in advance for your help!
>
> Thomas
I remeber that I had seen something like this, and instead a pause I could
have the effect that the plot windows was shown by adding instead a short sleep
like sleep(0.1). You can try that.
Which version do you use?