diff scripts/sparse/spy.m @ 5926:ddfe04062467

[project @ 2006-08-14 19:16:07 by jwe]
author jwe
date Mon, 14 Aug 2006 19:16:07 +0000
parents 4c8a2e4e0717
children f82f516c8a00
line wrap: on
line diff
--- a/scripts/sparse/spy.m	Mon Aug 14 19:08:37 2006 +0000
+++ b/scripts/sparse/spy.m	Mon Aug 14 19:16:07 2006 +0000
@@ -30,7 +30,7 @@
 
   arp = automatic_replot;
   unwind_protect
-    automatic_replot = 0;
+    automatic_replot (0);
 
     eval(sprintf('__gnuplot_set__ nokey'))
     eval(sprintf('__gnuplot_set__ yrange [0:%d] reverse',m+1))
@@ -46,6 +46,6 @@
     __gnuplot_set__ yrange [0:1] noreverse
     axis;
   unwind_protect_cleanup
-    automatic_replot = arp;
+    automatic_replot (arp);
   end_unwind_protect
 endfunction