diff scripts/signal/freqz_plot.m @ 4637:2b4e706ff011

[project @ 2003-11-20 04:39:32 by jwe]
author jwe
date Thu, 20 Nov 2003 04:39:32 +0000
parents 92be67bc9301
children 32c569794216
line wrap: on
line diff
--- a/scripts/signal/freqz_plot.m
+++ b/scripts/signal/freqz_plot.m
@@ -41,6 +41,9 @@
 
       ## Protect graph state.
 
+      replot_state = automatic_replot;
+      automatic_replot = 0;
+
       subplot (311);
       gset lmargin 10;
       axis ("labely");
@@ -85,6 +88,8 @@
       gset tmargin;
       oneplot ();
 
+      automatic_replot = replot_state;
+
     end_unwind_protect
 
 endfunction