Did you ever plot a whole bunch of lines and then have trouble telling them apart? You find that a static legend isn't convenient, or just doesn't suffice? Well, with linelabel, simply click on a line and it's identity will be revealed!
Michelle Hirsch (2021). linelabel (https://github.com/michellehirsch/MATLAB-Label-Lines), GitHub. Retrieved .
exactly what I have been looking for
I tweaked it slightly so that it would work with bar charts as well (R2008a)
lines 131 and 182 now read
if strcmp(htype,'line') || strcmp(htype,'hggroup')
very good idea
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!