# HG changeset patch # User jwe # Date 1069303172 0 # Node ID 2b4e706ff011123df25d3bd071627b392c96f203 # Parent fad289f3df7320f12448a992b11a010bb67b4c5a [project @ 2003-11-20 04:39:32 by jwe] diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2003-11-19 Quentin Spencer + + * signal/freqz_plot.m: Save and restore automatic_replot too. + 2003-11-18 Danilo Piazzalunga * statistics/base/iqr.m: Handle matrices. diff --git a/scripts/signal/freqz_plot.m b/scripts/signal/freqz_plot.m --- 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