From bug-octave-request at bevo dot che dot wisc dot edu Wed Nov 19 18:52:12 2003 Subject: patch to freqz_plot From: Quentin Spencer To: bug-octave at bevo dot che dot wisc dot edu Date: Wed, 19 Nov 2003 19:51:38 -0600 I've always used automatic_replot = 1, which apparently is now the default, but it ruins the behavior of freqz. The following patch temporarily sets automatic_replot to zero inside freqz_plot.m, and appears to fix the problem. -Quentin Spencer *** freqz_plot.m 2003-11-19 19:49:23.000000000 -0600 --- freqz_plot.m.~1.3.~ 2003-06-04 12:43:15.000000000 -0500 *************** *** 41,49 **** ## Protect graph state. - replot_state = automatic_replot; - automatic_replot = 0; - subplot (311); gset lmargin 10; axis ("labely"); --- 41,46 ---- *************** *** 88,95 **** gset tmargin; oneplot (); - automatic_replot = replot_state; - end_unwind_protect endfunction --- 85,90 ---- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------