Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

This should be an easy question but since few examples are given for ShowLegend and I am a new user, I got stuck after many attempts.

I plot three graphs which are seperately defined as t1, t2, t3. In each graphs there are one or two curves (Original codes to yield the graphs are complicated and not important). Then I present them in one graph, coding

graph1 = Show[t1, t2, t3, PlotRange->All]

Now I would like to add texts for identification for each curve in the graph1, in a form like

  --- x=2
  ___ x=3
  ''' x=4

Since the graph1 has already been plotted, PlotLegend may not work. I used ShowLegend but don't know how to establish the codes. Many thanks in advance.

share|improve this question

marked as duplicate by Kuba, Sjoerd C. de Vries, Artes, R. M. Jul 16 '13 at 14:34

This question was marked as an exact duplicate of an existing question.

    
Have you tried to search anything here? If you work on version <9 then it is a duplicate of Legends in combined... – Kuba Jul 16 '13 at 11:53
    
or duplicate of How to show legend.. – Kuba Jul 16 '13 at 11:55