%% Delete Legend
% Create a chart with a legend. Then, delete the legend.

plot(rand(3))
legend('line 1','line 2','line 3')

%

legend('off')

% Copyright 2012 The MathWorks, Inc.