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 .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
exactly what I have been looking for
Very useful.
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')
Regards
Adrian
Very good!
Great!!!
very good idea
very nice!
very nice!