You could use the 'Tag' line property to add an identifier to each when created or use the legend 'DisplayName' which is also settable as the a line property.
Or, just save and use the line handle created when plot
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!