changeset 2632:b8a3dd7e2e1a

[project @ 1997-01-27 19:49:33 by jwe]
author jwe
date Mon, 27 Jan 1997 19:49:33 +0000
parents 0774c3f023e8
children eb58c59bd223
files scripts/ChangeLog scripts/plot/__plt__.m
diffstat 2 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Mon Jan 27 19:22:05 1997 +0000
+++ b/scripts/ChangeLog	Mon Jan 27 19:49:33 1997 +0000
@@ -1,3 +1,8 @@
+Mon Jan 27 13:48:31 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* plot/__plt__.m: Use usleep() instead of replot to try to avoid
+	weird missing-lines bug without creating extra plots unecessarily.
+
 Sat Jan 25 22:37:07 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* Makefile.in, audio/Makefile.in, control/Makefile.in,
--- a/scripts/plot/__plt__.m	Mon Jan 27 19:22:05 1997 +0000
+++ b/scripts/plot/__plt__.m	Mon Jan 27 19:49:33 1997 +0000
@@ -72,6 +72,13 @@
 	  x_set = 1;
 	endif
 
+	## Something fishy is going on.  I don't think this should be
+	## necessary, but without it, sometimes not all the lines from a
+	## given plot command appear on the screen.  Even with it, the
+	## delay might not be long enough for some systems...
+
+	usleep (1e5);
+
       endwhile
 
       ## Handle last plot.
@@ -84,12 +91,6 @@
 	endif
       endif
 
-      ## Something fishy is going on.  I don't think this should be
-      ## necessary, but without it, sometimes not all the lines from a
-      ## given plot command appear on the screen.
-
-      replot;
-
     unwind_protect_cleanup
 
       if (! hold_state)