This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% This script removes the selected lines from a figure's legend. The lines | |
% must be selected BEFORE calling this script | |
% | |
% Created June 6, 2014, by Adam Noel | |
% | |
function removeLegendLines() | |
a = findobj('Selected', 'on'); | |
for i = 1:length(a) | |
hasbehavior(a(i), 'legend', false); | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment