Mercurial > hg > octave-nkf
diff scripts/plot/gtext.m @ 10549:95c3e38098bf
Untabify .m scripts
author | Rik <code@nomad.inbox5.com> |
---|---|
date | Fri, 23 Apr 2010 11:28:50 -0700 |
parents | c2923c27c877 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/plot/gtext.m +++ b/scripts/plot/gtext.m @@ -32,15 +32,15 @@ if (nargin > 0) if (iscellstr (s)) if (isempty (s)) - s = ""; + s = ""; else - s = sprintf ("%s\n", s{:}); + s = sprintf ("%s\n", s{:}); endif endif if (ischar (s)) if (! isempty (s)) - [x, y] = ginput (1); - text (x, y, s, varargin{:}); + [x, y] = ginput (1); + text (x, y, s, varargin{:}); endif else error ("gtext: expecting a string or cell array of strings");