Last Update: 9/7/2020
In some situations, you might prefer labeling individual line plots with a legend-style entry, rather than having a standard legend.
Beginning with Origin 2021, this is very easy:
Version 2020b and Earlier:
In this case, we are using the custom Format String %(wcol(n)[L]$) that labels the last point of each plot with the dataset Long Name, using Substitution Notation. Use of other plot metadata -- Units, Comments, etc. -- is certainly possible.
Keywords:plot label, data label, legend, line plot, line graph, Attach to Plots, substitution notation