changeset 4637:2b4e706ff011

[project @ 2003-11-20 04:39:32 by jwe]
author jwe
date Thu, 20 Nov 2003 04:39:32 +0000
parents fad289f3df73
children 9d8e84d710a5
files scripts/ChangeLog scripts/signal/freqz_plot.m
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Thu Nov 20 04:35:55 2003 +0000
+++ b/scripts/ChangeLog	Thu Nov 20 04:39:32 2003 +0000
@@ -1,3 +1,7 @@
+2003-11-19  Quentin Spencer  <qspencer@ieee.org>
+
+	* signal/freqz_plot.m: Save and restore automatic_replot too.
+
 2003-11-18  Danilo Piazzalunga  <danilopiazza@libero.it>
 
 	* statistics/base/iqr.m: Handle matrices.
--- a/scripts/signal/freqz_plot.m	Thu Nov 20 04:35:55 2003 +0000
+++ b/scripts/signal/freqz_plot.m	Thu Nov 20 04:39:32 2003 +0000
@@ -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