Mercurial > hg > octave-jordi
changeset 5926:ddfe04062467
[project @ 2006-08-14 19:16:07 by jwe]
author | jwe |
---|---|
date | Mon, 14 Aug 2006 19:16:07 +0000 |
parents | fe5cedbf3806 |
children | 8dbf3f9f22dc |
files | doc/ChangeLog doc/interpreter/images/sparseimages.m scripts/ChangeLog scripts/control/base/__stepimp__.m scripts/control/base/bode.m scripts/signal/freqz_plot.m scripts/sparse/spy.m |
diffstat | 7 files changed, 19 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2006-08-14 Dmitri A. Sergatskov <dasergatskov@gmail.com> + + * interpreter/images/sparseimages.m: Adapt to new automatic_replot + definition. + 2006-06-27 John W. Eaton <jwe@octave.org> * interpreter/Makefile.in: Elminate double-colon rules.
--- a/doc/interpreter/images/sparseimages.m +++ b/doc/interpreter/images/sparseimages.m @@ -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)
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2006-08-14 Dmitri A. Sergatskov <dasergatskov@gmail.com> + + * 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 <hauberg@gmail.com> * strings/bin2dec.m: Ignore spaces in input for compatibility.
--- a/scripts/control/base/__stepimp__.m +++ b/scripts/control/base/__stepimp__.m @@ -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
--- a/scripts/control/base/bode.m +++ b/scripts/control/base/bode.m @@ -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;
--- a/scripts/signal/freqz_plot.m +++ b/scripts/signal/freqz_plot.m @@ -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
--- a/scripts/sparse/spy.m +++ b/scripts/sparse/spy.m @@ -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