Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: Plot2D: How to attach names to plotted functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32275] RE: [mg32240] Plot2D: How to attach names to plotted functions
  • From: "David Park" <djmp at earthlink.net>
  • Date: Wed, 9 Jan 2002 23:37:50 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Klaus,

Use Epilog to include Text statements. First, make the plot without the Text
statements and then click off the coordinates to put into the Text
statements.

Plot[{Sin[x], Cos[x]}, {x, 0, Pi},
    Epilog -> {Text[Sin[x], {1.24979, 0.430723}, {-1, 0}],
        Text[Cos[x], {2.4861, 0.735828}, {-1, 0}]}];

To click off coordinates:
1) select the graphic cell.
2) hold down Ctrl and position the cursor to the point you want to click
off.
3) click and then use copy, either from the menu or the context menu.
4) paste into the Text statement.

Look up Text in Help for a complete explanation of its operation.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

> From: Klaus-J. Eckardt
To: mathgroup at smc.vnet.net
>
> 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
>



  • Prev by Date: Re: Plot2D: How to attach names to plotted functions
  • Next by Date: RE: Plot2D: How to attach names to plotted functions
  • Previous by thread: Re: Plot2D: How to attach names to plotted functions
  • Next by thread: RE: Plot2D: How to attach names to plotted functions