Re: How to color countours in a contour Plot?
- To: mathgroup at smc.vnet.net
- Subject: [mg32793] Re: [mg32782] How to color countours in a contour Plot?
- From: BobHanlon at aol.com
- Date: Tue, 12 Feb 2002 06:23:45 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
In a message dated 2/9/02 6:19:34 AM, mtpagesj at lg.ehu.es writes:
>I want to color the contour lines in a contour plot according to the
>corresponding value over a white background (i.e., using ContourShading
>->
>False). Is there a package like ExtendGraphics`LabelContour` which does
>this, or can someone offer a solution?
>
n=6;
ContourPlot[Sin[x y],{x,-5,5},{y,-5,5},
ContourShading->False,
PlotPoints->100, ImageSize->400,
ContourStyle->Table[{Hue[(k-1)/n]},{k,n}]];
Bob Hanlon
Chantilly, VA USA