# HG changeset patch # User jwe # Date 1155582967 0 # Node ID ddfe040624674c4d7538166aa90ac543e1a13b7b # Parent fe5cedbf3806208110365e7db4cf1845da6bfce4 [project @ 2006-08-14 19:16:07 by jwe] diff -r fe5cedbf3806 -r ddfe04062467 doc/ChangeLog --- a/doc/ChangeLog Mon Aug 14 19:08:37 2006 +0000 +++ b/doc/ChangeLog Mon Aug 14 19:16:07 2006 +0000 @@ -1,3 +1,8 @@ +2006-08-14 Dmitri A. Sergatskov + + * interpreter/images/sparseimages.m: Adapt to new automatic_replot + definition. + 2006-06-27 John W. Eaton * interpreter/Makefile.in: Elminate double-colon rules. diff -r fe5cedbf3806 -r ddfe04062467 doc/interpreter/images/sparseimages.m --- a/doc/interpreter/images/sparseimages.m Mon Aug 14 19:08:37 2006 +0000 +++ b/doc/interpreter/images/sparseimages.m Mon Aug 14 19:16:07 2006 +0000 @@ -20,7 +20,7 @@ ## print since print() resets output to stdout (unfortunately, gnpulot ## can't pop output as it can the terminal type). function bury_output () - automatic_replot = false; + automatic_replot(0); __gnuplot_set__ term dumb [status, dummy] = fileattrib("/dev/null"); if (status) diff -r fe5cedbf3806 -r ddfe04062467 scripts/ChangeLog --- a/scripts/ChangeLog Mon Aug 14 19:08:37 2006 +0000 +++ b/scripts/ChangeLog Mon Aug 14 19:16:07 2006 +0000 @@ -1,3 +1,8 @@ +2006-08-14 Dmitri A. Sergatskov + + * sparse/spy.m, control/base/bode.m, control/base/__stepimp__.m, + signal/freqz_plot.m: Adapt to new automatic_replot definition. + 2006-08-14 Søren Hauberg * strings/bin2dec.m: Ignore spaces in input for compatibility. diff -r fe5cedbf3806 -r ddfe04062467 scripts/control/base/__stepimp__.m --- a/scripts/control/base/__stepimp__.m Mon Aug 14 19:08:37 2006 +0000 +++ b/scripts/control/base/__stepimp__.m Mon Aug 14 19:16:07 2006 +0000 @@ -216,7 +216,7 @@ save_automatic_replot = automatic_replot; unwind_protect - automatic_replot = 0; + automatic_replot(0); if(nargout == 0) ## Plot the information oneplot(); @@ -272,6 +272,6 @@ endif ## printf("##STEPIMP-DEBUG: gratulations, successfull completion.\n"); unwind_protect_cleanup - automatic_replot = save_automatic_replot; + automatic_replot(save_automatic_replot); end_unwind_protect endfunction diff -r fe5cedbf3806 -r ddfe04062467 scripts/control/base/bode.m --- a/scripts/control/base/bode.m Mon Aug 14 19:08:37 2006 +0000 +++ b/scripts/control/base/bode.m Mon Aug 14 19:16:07 2006 +0000 @@ -147,7 +147,7 @@ ## Plot the information save_automatic_replot = automatic_replot; unwind_protect - automatic_replot = 0; + automatic_replot(0); oneplot(); __gnuplot_set__ autoscale; __gnuplot_set__ nokey; @@ -204,7 +204,7 @@ oneplot(); endif unwind_protect_cleanup - automatic_replot = save_automatic_replot; + automatic_replot(save_automatic_replot); end_unwind_protect else mag_r = mag; diff -r fe5cedbf3806 -r ddfe04062467 scripts/signal/freqz_plot.m --- a/scripts/signal/freqz_plot.m Mon Aug 14 19:08:37 2006 +0000 +++ b/scripts/signal/freqz_plot.m Mon Aug 14 19:16:07 2006 +0000 @@ -42,7 +42,7 @@ ## Protect graph state. replot_state = automatic_replot; - automatic_replot = 0; + automatic_replot(0); subplot (311); __gnuplot_set__ lmargin 10; @@ -88,7 +88,7 @@ __gnuplot_set__ tmargin; oneplot (); - automatic_replot = replot_state; + automatic_replot(replot_state); end_unwind_protect diff -r fe5cedbf3806 -r ddfe04062467 scripts/sparse/spy.m --- 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