Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Normalizing a 3D plot by slices' topicStudent Support Forum > General > "Normalizing a 3D plot by slices"

Author Comment/Response
10/26/11 07:27am

I'm really *really* new to Mathematica, and I'm 3D plotting the function
(x*(1 + x)^(-1 - k)*Gamma[1 + k])/(Gamma[-0.5 + k] * k^1.5) for {x,0,6} and {k,1.5,5}. This works fine.

However, for each value of k I want to normalize each '2D' x slice so that the x-peak value stays constant (=1.0) for all k.

I tried the following, using MaxValue:

Plot3D[((x*(1 + x)^(-1 - k)*Gamma[1 + k])/(Gamma[-0.5 + k] *
k^1.5))/MaxValue[{((x*(1 + x)^(-1 - k)*Gamma[1 + k])/(Gamma[-0.5 + k] * k^1.5)),1.5<k<5},{x}], {x, 0, 6}, {k, 1.5, 5}]

but get error messages relating to "MaxValue::ivar: 0.00012257142857142857` is not a valid variable..."

How do I solve this?



URL: ,