Watch this Author's files
Kristian, If the data already has "DisplayName" set, then calling:
legend show
will display a legend with the appropriate names.
Contact us at files@mathworks.com