Mercurial > hg > octave-terminal
changeset 14375:4e4519a26e50
legend.m: Delete duplicate demo.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 16 Feb 2012 19:19:31 -0500 |
parents | d31156b96abe |
children | 7dd6ac033e69 |
files | scripts/plot/legend.m |
diffstat | 1 files changed, 0 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/legend.m +++ b/scripts/plot/legend.m @@ -1047,21 +1047,6 @@ %!demo %! clf; -%! labels = {}; -%! colororder = get (gca, 'colororder'); -%! for i = 1:5 -%! h = plot (1:100, i + rand (100,1)); hold on; -%! set (h, 'color', colororder(i,:)); -%! labels = {labels{:}, ['Signal ', num2str(i)]}; -%! end -%! hold off; -%! title ('Signals with random offset and uniform noise'); -%! xlabel ('Sample Nr [k]'); ylabel ('Amplitude [V]'); -%! legend (labels{:}, 'location', 'southoutside'); -%! legend ('boxon'); - -%!demo -%! clf; %! x = linspace (0, 10); %! plot (x, x); %! hold on;