MathGroup Archive 2001

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

Search the Archive

ColorFunction

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27730] ColorFunction
  • From: Michael Wild <wild at ilt.fhg.de>
  • Date: Tue, 13 Mar 2001 03:52:47 -0500 (EST)
  • Organization: FhG ILT
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Colleagues,
I am trying to display a r-z-temperature field with ContourPlot.
How can I modify the ColorFunction command such that the
temperature range from
100-200 K
200-300 K
etc. is displayed in the same color no matter if the total
temperature range of the plot is 0 to 500 K or
0 to 1000 K.
My current plot command is
ContourPlot[templim[r, z], {r, 0, 2}, {z, 0, 4}, PlotRange -> All,
  ColorFunction -> (Hue[0.7(1 - 0.79*#)] &),
  PlotPoints -> 150, AspectRatio -> 1/2,
  Contours -> {100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100,
1200,
      1300, 1400, 1500}]
Your help is very much appreciated
thanks
Michael




  • Prev by Date: Re: How to calculate the area of a polygon?
  • Next by Date: RE: Solving for "Invalid" Variables
  • Previous by thread: Re: J-link for beginners?
  • Next by thread: Re: ColorFunction