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: How to color countours in a contour Plot?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32840] Re: How to color countours in a contour Plot?
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Fri, 15 Feb 2002 02:49:37 -0500 (EST)
  • References: <a42tuj$g2k$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Julian,

ContourPlot[x y, {x, -5, 5}, {y, -5, 5},
    ContourShading -> False,
    ContourStyle -> Table[{Hue[i], Thickness[.03i]}, {i, 0, .7, .7/9}]];

Options[ContourPlot] gives the needed pointers.

--
Allan

---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565


"AGUIRRE ESTIBALEZ Julian" <mtpagesj at lg.ehu.es> wrote in message
news:a42tuj$g2k$1 at smc.vnet.net...
> 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?
>
> Thanksou in advance.
>
> Julian Aguirre | Voice:  +34 946012659
> Departamento de Matematicas | Fax:    +34 944648500
> Universidad del Pais Vasco | Postal: Aptdo. 644, 48080 Bilbao, Spain
> | email:  mtpagesj at lg.ehu.es
>
>




  • Prev by Date: Re: Iterators
  • Next by Date: Numerical derivatives of compiled functions
  • Previous by thread: Re: How to color countours in a contour Plot?
  • Next by thread: Reading & Writing binary files