Matlab Legend. When you create a plot, you can specify the legend labels by setti