I could not find something similar. Suppose that I want the lines y=1 and x=1. I can do it with Plot and Epilog or GridLines. But how can I insert the representation of the vertical line in a legend that contains also the function y=1?
P.s. I am writing the message with the mobile phone. No access to Mathematica right now.