Re: Plot2D: How to attach names to plotted functions
- To: mathgroup at smc.vnet.net
- Subject: [mg32266] Re: Plot2D: How to attach names to plotted functions
- From: Matthias.Bode at oppenheim.de
- Date: Wed, 9 Jan 2002 23:37:23 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hello Klaus,
try:
g1 == Plot[{Sin[x], Cos[x]}, {x, 0, 3*Pi}];
Show[{g1, Graphics[{Text["sin", {Pi/2, 1.1}], Text["cos", {0, 1.1}]}]}]
Best regards,
Matthias Bode
Sal. Oppenheim jr. & Cie. KGaA
Koenigsberger Strasse 29
D-60487 Frankfurt am Main
GERMANY
Tel.: +49(0)69 71 34 53 80
Mobile: +49(0)172 6 74 95 77
Fax: +49(0)69 71 34 95 380
E-mail: matthias.bode at oppenheim.de
Internet: http://www.oppenheim.de
-----Urspr=C3=BCngliche Nachricht-----
Von: Klaus-J. Eckardt [mailto:klaus-juergen.eckardt at fujitsu-siemens.com]
Gesendet: Mittwoch, 9. Januar 2002 09:18
An: mathgroup at smc.vnet.net
Betreff: [mg32240] Plot2D: How to attach names to plotted functions
Hello, I'm just a beginner and I met the following problem.
When plotting e.g. with the Plot2D command two functions f[x] anf g[x]
simultaneously is it possible to order Mathematica to attach the names of
the functions to the graphs? The reason is simple: it is not always obvious
which graph belongs to which function.
Until now I haven't found an appropriate parameter.
Many thanks in advance.
Best regards,
Klaus
klaus-juergen.eckardt at fujitsu-siemens.com