Mercurial > octave-nkf
diff scripts/plot/legend.m @ 11120:a44f979a35ce
style fixes for some .m files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 20 Oct 2010 20:49:17 -0400 |
parents | d9c8916bb9dd |
children | 7c045d801702 |
line wrap: on
line diff
--- a/scripts/plot/legend.m Tue Oct 19 04:31:30 2010 -0400 +++ b/scripts/plot/legend.m Wed Oct 20 20:49:17 2010 -0400 @@ -512,7 +512,7 @@ else lpos = [0, 0, num1 * xstep, num2 * ystep]; endif - switch(position) + switch (position) case "north" if (outside) lpos = [ca_pos(1) + (ca_pos(3) - lpos(3)) / 2, ... @@ -621,7 +621,7 @@ yk = 0; for k = 1 : numel (hplots) hobjects = [hobjects, texthandle (k)]; - switch get (hplots(k), "type") + switch (get (hplots(k), "type")) case "line" color = get (hplots(k), "color"); style = get (hplots(k), "linestyle");