Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



SphericalPlot3D, surface color as function of r?
Posted:
Jul 24, 1996 7:12 PM


I'm using SphericalPlot3D to plot the function SphericalHarmonicY[l,m,theta,phi]. I would like to have the surface color represent the value and magnitude of the function. Say bright red for large positive values and bright blue for large negative values. Is there any way to do this using SphericalPlot3D.
I also plotted the function z = phi (in cylindrical coordinates) using CylindricalPlot3D. Now i would like to have the surface color a function of phi. Again, any easy (or hard) way to do this.
Thanks for any help!



