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!
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
Made available for download as an easy-to-install Toolbox file.
Removed mistaken attribution.
Add keyword telemetry