Mercurial > octave-nkf
diff scripts/plot/appearance/text.m @ 19630:0e1f5a750d00
maint: Periodic merge of gui-release to default.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 20 Jan 2015 10:24:46 -0500 |
parents | 87c3848cf3c0 446c46af4b42 |
children | 4197fc428c7d |
line wrap: on
line diff
--- a/scripts/plot/appearance/text.m Tue Jan 20 09:55:41 2015 -0500 +++ b/scripts/plot/appearance/text.m Tue Jan 20 10:24:46 2015 -0500 @@ -81,7 +81,7 @@ elseif (nx > 1 && nt == nx) ## Mutiple text objects with different strings string = cellstr (string); - else + else ## Mutiple text objects with same string string = repmat ({string}, [nx, 1]); nt = nx; @@ -95,7 +95,7 @@ elseif (iscell (string)) nt = numel (string); - if (nx == 1) + if (nx == 1) ## Single text object with one or more lines string = {string}; nt = 1;