Re: labeling curves on a plot

*To*: mathgroup at smc.vnet.net*Subject*: [mg47911] Re: labeling curves on a plot*From*: Bill Rowe <readnewsciv at earthlink.net>*Date*: Fri, 30 Apr 2004 19:26:50 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

On 4/29/04 at 7:39 PM, abcollier at phreaker.net (Andrew Collier) wrote: >could someone please give me some pointers on how to label individual >curves on a plot. i am trying to achieve something like the plot on >http://mathworld.wolfram.com/BesselFunctionoftheFirstKind.html where >each of the curves is labelled "J0(x)", "J1(x)" etc. >was mathematica use to the produce the plot on the above page? i would >hope so... and if so, then how were the labels formatted so nicely? I am sure the plot on that page was created with Mathematica. One way to add labels to curves would be to use Epilog. For example, try pasting the following into a Mathematica notebook: \!\(\(Plot[{ x, x^2}, { x, 0, 1}, Epilog -> {Text["\<y=x\>", { .4, .55}, {\(-1\), 0}], \ Text[\*"\"\<y=\!\(x\^2\)\>\"", { .6, .2}, {1, 0}]}];\)\) Another way would be to use the DrawGraphics package David Park created -- To reply via email subtract one hundred and four