diff scripts/plot/__plt__.m @ 2523:007e977442b8

[project @ 1996-11-16 00:33:22 by jwe]
author jwe
date Sat, 16 Nov 1996 00:33:24 +0000
parents b5568c31ee2c
children b8a3dd7e2e1a
line wrap: on
line diff
--- a/scripts/plot/__plt__.m
+++ b/scripts/plot/__plt__.m
@@ -28,7 +28,7 @@
   elseif (nargin > 2)
 
     first_plot = 1;
-    hold_state = ishold;
+    hold_state = ishold ();
 
     unwind_protect
 
@@ -84,6 +84,12 @@
 	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)