help-octave
[Top][All Lists]
Advanced

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

Re: Drawing a curve from standalone skript


From: Thomas Ilnseher
Subject: Re: Drawing a curve from standalone skript
Date: Thu, 05 May 2011 21:13:19 +0200

Am Donnerstag, den 05.05.2011, 18:27 +0200 schrieb Martin Helm:
> 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).

This works perfect!
Thanks a lot !!!

>  You can try that.
> Which version do you use?
I use 3.4.0 on linux x86-64
>  
> 

-- 
Thomas Ilnseher <address@hidden>



reply via email to

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