To skip the legend for a plot you can set ‘HandleVisibility’ property to ‘off’
For the plot in your code
plot(y_l,BSS03,'HandleVisibility','off');
If you add or delete a data series from the axes, the legend updates accordingly.
Also, you can specify the legend labels during the plotting commands by setting the ‘DisplayName’ property to the desired text. Then, add a legend.
For the plot in your code
plot(y_l,BSS03,'DisplayName','0.3');
legend;
For more information about legend you can refer to the link https://www.mathworks.com/help/matlab/ref/legend.html
Hope this helps!