octave-maintainers
[Top][All Lists]
Advanced

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

Too much free time...


From: Daniel J Sebald
Subject: Too much free time...
Date: Sat, 24 Mar 2007 22:31:26 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

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]