Problem with Graph window JHandles

View: New views
2 Messages — Rating Filter:   Alert me  

Problem with Graph window JHandles

by BRINGE Arnaud :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

I installed Octave version 3.0.1 on Windows XP (JHandles version), and
I have some problems to keep my graph window opened. When I launch
octave instructions in the console , anything is ok, but when I use a
.m program with Scite, it opens and immediately closes the graph window.

I tried it with this easy program :
x=linspace(0,pi,30);
y=sin(x)
plot(x,y)

Could anybody can explain to me how to avoid it ? How to result ?


Best regards,



Arnaud Bringé






_______________________________________________
Help-octave mailing list
Help-octave@...
https://www.cae.wisc.edu/mailman/listinfo/help-octave

Re: Problem with Graph window JHandles

by Michael Goffioul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, May 12, 2008 at 10:50 PM, BRINGE Arnaud <bringe@...> wrote:

>
>  Hello,
>
>  I installed Octave version 3.0.1 on Windows XP (JHandles version), and
>  I have some problems to keep my graph window opened. When I launch
>  octave instructions in the console , anything is ok, but when I use a
>  .m program with Scite, it opens and immediately closes the graph window.
>
>  I tried it with this easy program :
>  x=linspace(0,pi,30);
>  y=sin(x)
>  plot(x,y)
>
>  Could anybody can explain to me how to avoid it ? How to result ?

The ability to run octave scripts within SciTE is just a simple trick,
it's not a real integration. What's happening is that SciTE is launching
another octave process to run the script. This process exits when
the script is finished. That's why the plot windows disappear. There's
currently no real octave/GUI integration, but things are going on.

If you want to run a script with plot commands, don't run it from
the SciTE editor.

Michael.
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www.cae.wisc.edu/mailman/listinfo/help-octave