In order display a legend to your MTEX plots you need to add the option DisplayName
followed by the text that you would like to be displayed in the legend. Objects that are plotted without this option are not displayed in the legend. Eventually the legend is displayd by the command legend
The legend
command suport a wide varity of porperties to adjust the position and appearance of the legend.