MathGroup Archive 2005

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

Search the Archive

Q: Varying colors in Plot3D according to Height

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55414] Q: Varying colors in Plot3D according to Height
  • From: Mark Coleman <mark at markscoleman.com>
  • Date: Tue, 22 Mar 2005 03:51:04 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

I am plotting a three-dimension function using Plot3D. I would like to 
highlight the portion of the surface whose height exceeds 1.0 a 
different color or hue than the portion of the surface below 1.0. My 
attempts at using ColorFunction to do this have been less than 
aesthetically pleasing, to say the least. Ideally, I'd like the portion 
below 1.0 to retain the default Mathematica blue shading (I'm using
Mathematica ver 5.1.1 on a Mac OS X 10.3.8), and perhaps have the portion
above 1.0 to have a red shading. Any help would be greatly appreciated.

Thanks,

-Mark


  • Prev by Date: Lines in Mathematica Graphics
  • Next by Date: Re: Do loop is faulty
  • Previous by thread: Re: Lines in Mathematica Graphics
  • Next by thread: Re: Q: Varying colors in Plot3D according to Height