MathGroup Archive 2004

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

Search the Archive

RE: Contour lines with individual labels


Rico,

The ExtendGraphics package by Tom Wickham-Jones, which I think you can get
from MathSource at the Wolfram site, has a LabelContourLines command that
will label lines from a previously generated ContourPlot. It is explained in
his book "Mathematica Graphics". An example from his book is

Needs["ExtendGraphics`LabelContour`"]

plot1 = ContourPlot[Sin[x]Sin[y], {x, 0, \[Pi]}, {y, 0, \[Pi]},
      ContourShading -> False];

LabelContourLines[plot1];


The DrawGraphics package from my web site below has a DrawLineLabels command
that will label Lines that have a function of the coordinates
f[x,y]==constant. That includes contour values from contour plots. The
package comes with Help and many examples including labeling a contour plot.

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

From: Rico Poser [mailto:poser at despammed.com]
To: mathgroup at smc.vnet.net

Hello,

is there an automatic way in Mathematica 5 to label contour lines in
ContourPlots with the value they represent?

Thank you very much in advance.

Rico




  • Prev by Date: Re: What does +- mean?
  • Next by Date: Re: Notation Question
  • Previous by thread: Re: Contour lines with individual labels
  • Next by thread: Number to Binary