Mercurial > hg > octave-lyh
diff scripts/plot/legend.m @ 7540:3422f39573b1
strcat.m: Matlab compatibility, with cstrcat.m replacing conventional strcat.m.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 28 Feb 2008 02:41:19 -0500 |
parents | 735086cfd405 |
children | 86955a1559c5 |
line wrap: on
line diff
--- a/scripts/plot/legend.m +++ b/scripts/plot/legend.m @@ -210,7 +210,7 @@ %! labels = {}; %! for i = 1:5 %! plot(1:100, i + rand(100,1)); hold on; -%! labels = {labels{:}, strcat("Signal ", num2str(i))}; +%! labels = {labels{:}, cstrcat("Signal ", num2str(i))}; %! endfor; hold off; %! title("Signals with random offset and uniform noise") %! xlabel("Sample Nr [k]"); ylabel("Amplitude [V]");