Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

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


  • Prev by Date: Re: 34.123*89 = 3036.95 (3036.947)
  • Next by Date: Re: export plot data
  • Previous by thread: labeling curves on a plot
  • Next by thread: Re: labeling curves on a plot