How can I label each of these lines separately :
Plot[{{5 + 2 x}, {6 + x}}, {x, 0, 10}]

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s some nice code that allows you to do this dynamically in an answer to How to annotate multiple datasets in ListPlots.
There’s also a
LabelPlotcommand defined in the Technical Note Labeling Curves in PlotsOf course, if you don’t have too many images to make,
then it’s not hard to manually add the labels in using
Epilog, for exampleIn fact, you can do something similar with
Locatorsthat allows you to move the labels wherever you want:In the above I made the locators take the form of the labels, although it is also possible to keep an
Epiloglike that above and have invisible locators that control the positions.The locators could also be constrained (using the 2nd argument of
Dynamic) to the appropriate curves… but that’s not really necessary.As an example of the above code with the functions with the labels moved by hand: