# HG changeset patch # User jwe # Date 844987142 0 # Node ID 8fc0fa7ae9cabb17eb889f87e3bc490ce8722d20 # Parent 6d3cafa2798be1caedb006a0a822f98b2784ecdd [project @ 1996-10-10 22:36:46 by jwe] diff -r 6d3cafa2798b -r 8fc0fa7ae9ca scripts/ChangeLog --- a/scripts/ChangeLog Wed Sep 25 17:25:56 1996 +0000 +++ b/scripts/ChangeLog Thu Oct 10 22:39:02 1996 +0000 @@ -1,3 +1,17 @@ +Thu Oct 10 17:31:01 1996 John W. Eaton + + * plot/subplot.m, plot/multiplot.m, plot/mplot.m: + Don't check for string value of automatic_replot. + + * image/ind2ind.m, image/ind2rgb.m, image/ind2gray.m: + Temporarily set do_fortran_indexing to 1, not "true". + + * miscellaneous/menu.m: Temporarily set page_screen_output to 0, + not "false". + + * linear-algebra/cond.m: Don't compare propagate_empty_matrices to + "false". + Tue Aug 20 18:27:36 1996 Kurt Hornik * strings/substr.m: Allow negative OFFSET. LEN is now optional. diff -r 6d3cafa2798b -r 8fc0fa7ae9ca scripts/image/ind2gray.m --- a/scripts/image/ind2gray.m Wed Sep 25 17:25:56 1996 +0000 +++ b/scripts/image/ind2gray.m Thu Oct 10 22:39:02 1996 +0000 @@ -52,7 +52,7 @@ unwind_protect - do_fortran_indexing = "true"; + do_fortran_indexing = 1; ## Replace indices in the input matrix with indexed values in the output ## matrix. diff -r 6d3cafa2798b -r 8fc0fa7ae9ca scripts/image/ind2rgb.m --- a/scripts/image/ind2rgb.m Wed Sep 25 17:25:56 1996 +0000 +++ b/scripts/image/ind2rgb.m Thu Oct 10 22:39:02 1996 +0000 @@ -45,7 +45,7 @@ unwind_protect - do_fortran_indexing = "true"; + do_fortran_indexing = 1; R = map (X(:), 1); G = map (X(:), 2); diff -r 6d3cafa2798b -r 8fc0fa7ae9ca scripts/image/rgb2ind.m --- a/scripts/image/rgb2ind.m Wed Sep 25 17:25:56 1996 +0000 +++ b/scripts/image/rgb2ind.m Thu Oct 10 22:39:02 1996 +0000 @@ -49,7 +49,7 @@ unwind_protect - do_fortran_indexing = "true"; + do_fortran_indexing = 1; map(:,1) = R(:); map(:,2) = G(:); diff -r 6d3cafa2798b -r 8fc0fa7ae9ca scripts/linear-algebra/cond.m --- a/scripts/linear-algebra/cond.m Wed Sep 25 17:25:56 1996 +0000 +++ b/scripts/linear-algebra/cond.m Thu Oct 10 22:39:02 1996 +0000 @@ -31,7 +31,7 @@ if (nargin == 1) [nr, nc] = size (a); if (nr == 0 && nc == 0) - if (strcmp (propagate_empty_matrices, "false")) + if (! propagate_empty_matrices) error ("cond: empty matrix is invalid as argument"); endif if (strcmp (propagate_empty_matrices, "warn")) diff -r 6d3cafa2798b -r 8fc0fa7ae9ca scripts/miscellaneous/menu.m --- a/scripts/miscellaneous/menu.m Wed Sep 25 17:25:56 1996 +0000 +++ b/scripts/miscellaneous/menu.m Thu Oct 10 22:39:02 1996 +0000 @@ -40,7 +40,7 @@ unwind_protect - page_screen_output = "false"; + page_screen_output = 0; if (! isempty (t)) disp (t); diff -r 6d3cafa2798b -r 8fc0fa7ae9ca scripts/plot/mplot.m --- a/scripts/plot/mplot.m Wed Sep 25 17:25:56 1996 +0000 +++ b/scripts/plot/mplot.m Thu Oct 10 22:39:02 1996 +0000 @@ -51,8 +51,7 @@ global multiplot_save_auto_replot = automatic_replot - if ((isstr (automatic_replot) && strcmp (automatic_replot,"true")) - || automatic_replot) + if (automatic_replot) warning ("turning off automatic replot for multiplot mode"); multiplot_save_auto_replot = automatic_replot; automatic_replot = 0; diff -r 6d3cafa2798b -r 8fc0fa7ae9ca scripts/plot/multiplot.m --- a/scripts/plot/multiplot.m Wed Sep 25 17:25:56 1996 +0000 +++ b/scripts/plot/multiplot.m Thu Oct 10 22:39:02 1996 +0000 @@ -58,8 +58,7 @@ error ("multiplot: xn and yn have to be scalars"); endif - if ((isstr (automatic_replot) && strcmp (automatic_replot,"true")) - || automatic_replot) + if (automatic_replot) warning ("turning off automatic replot for multiplot mode"); multiplot_save_auto_replot = automatic_replot; automatic_replot = 0; diff -r 6d3cafa2798b -r 8fc0fa7ae9ca scripts/plot/subplot.m --- a/scripts/plot/subplot.m Wed Sep 25 17:25:56 1996 +0000 +++ b/scripts/plot/subplot.m Thu Oct 10 22:39:02 1996 +0000 @@ -78,8 +78,7 @@ usage ("subplot (rows, columns, index) or subplot (rcn)"); endif - if ((isstr (automatic_replot) && strcmp (automatic_replot, "true")) - || automatic_replot) + if (automatic_replot) warning ("turning off automatic replot for multiplot mode"); multiplot_save_auto_replot = automatic_replot; automatic_replot = 0;