Mercurial > hg > octave-lojdl
changeset 14017:0b94080d2b0f
__go_draw_axes__.m: Fix bug introduced by f35b593688a5 which prevented
multiple "_" and "^" from being rendered literally when "interpreter"
was set to "none".
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 08 Dec 2011 19:25:38 -0500 |
parents | 8feb25ecddaf |
children | 5d5685216876 |
files | scripts/plot/private/__go_draw_axes__.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/private/__go_draw_axes__.m +++ b/scripts/plot/private/__go_draw_axes__.m @@ -2323,8 +2323,8 @@ n1 = n1 + 1; n2 = setdiff (n2, n1); end - for n = n2 - labels{m} = [labels{m}(1:n2-1), "\\", labels{m}(n2:end)]; + for n = numel(n2):-1:1 + labels{m} = [labels{m}(1:n2(n)-1), "\\", labels{m}(n2(n):end)] endfor endfor endfor