# HG changeset patch # User Ben Abbott # Date 1329437971 18000 # Node ID 4e4519a26e501cfea7696fd445e310801db0deb1 # Parent d31156b96abe80a3d1591c34b2807765e89232fa legend.m: Delete duplicate demo. diff -r d31156b96abe -r 4e4519a26e50 scripts/plot/legend.m --- a/scripts/plot/legend.m Thu Feb 16 16:09:26 2012 -0800 +++ b/scripts/plot/legend.m Thu Feb 16 19:19:31 2012 -0500 @@ -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;