- #1

- 412

- 2

## Main Question or Discussion Point

I want to plot a function in 3D such that the saturation of the color at any point is given by:

[tex]

S = f(x, y, z)

[/tex]

so, when f(x, y, z) is maximum, i want the color at (x, y, z) to be say saturated Red [rgb(255, 255, 0)] and when it is minimum, i want the color to be white.

How do i do that in Mathematica?

[tex]

S = f(x, y, z)

[/tex]

so, when f(x, y, z) is maximum, i want the color at (x, y, z) to be say saturated Red [rgb(255, 255, 0)] and when it is minimum, i want the color to be white.

How do i do that in Mathematica?