Re: Does ColorFunction-> have different meanings to Plot3D
- To: mathgroup at smc.vnet.net
- Subject: [mg83328] Re: [mg83276] Does ColorFunction-> have different meanings to Plot3D
- From: "W. Craig Carter" <ccarter at mit.edu>
- Date: Sat, 17 Nov 2007 05:31:57 -0500 (EST)
- References: <200711161041.FAA05001@smc.vnet.net>
>
> Plot3D[Sin[x + y^2], {x, -3, 3}, {y, -2, 2}, ColorFunction -> (Hue[#]
> &)]
>
> Then I made a contour plot of the identical function, also with CF:
>
> ContourPLot[Sin[x + y^2], {x, -3, 3}, {y, -2, 2}, ColorFunction ->
> (Hue[#] &)]
Try ColorFunction-> (Hue[#3])&
for Plot3D.
The documentation in ColorFunction indicates which values
get passed to the pure function.
HTH, C
- References:
- Does ColorFunction-> have different meanings to Plot3D and
- From: congruentialuminaire@yahoo.com
- Does ColorFunction-> have different meanings to Plot3D and