Created
June 23, 2016 18:18
-
-
Save adamjgnoel/de4106ee39a3a2163614df7109b598f2 to your computer and use it in GitHub Desktop.
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