Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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, rm -rf Jul 16 '13 at 14:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new 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

Browse other questions tagged or ask your own question.