octave-maintainers
[Top][All Lists]
Advanced

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

Re: Too much free time...


From: Shai Ayal
Subject: Re: Too much free time...
Date: Sun, 25 Mar 2007 06:23:20 +0200

I think pause calles drawnow which calles __go_draw_axes__ which
calles pause ...

why do you need pause to debug?

Shai

On 3/25/07, Daniel J Sebald <address@hidden> wrote:
In trying to investigate why my system takes so long to draw, I placed a pause()
inside of __go_draw_axes__.m.  I've tried pause in a simple test M file and it
seemed to work fine, but inside __go_draw_axes__.m according to the attached
patch Octave goes into an infinite loop of redrawing the figure at a rapid rate.
  After about twenty seconds I get:

error: max_recursion_limit exceeded

Any explanation for this?  I wonder because this might be a clue to the source
of delay in my system.  That is, without the "pause()" perhaps (just guessing)
there is this loop that goes to the recursion limit, stops then draws the plot.
  With the pause(), the loop "comes back to the command line" and draws every
time, hence it takes longer to reach the recursion limit.

I can't see any files in octave subdirectory left over from the plotting
debugging that might cause this.

Dan

--- /usr/local/share/octave/2.9.9+/m/plot/__go_draw_axes__.m    2007-03-24 
13:34:52.000000000 -0500
+++ __go_draw_axes__.m  2007-03-24 22:08:35.260403463 -0500
@@ -731,7 +731,9 @@

   else
     print_usage ();
-  endif
+  endif
+
+pause();

 endfunction





reply via email to

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