JavaView Logo  
Home Demos Applications Tutorial Download Help Feedback

ColorFunction and ColorFunctionScaling.

Not supported in JavaView. This Example looks similar, as it just shows the surface without any lighting; settings like ColorFunction -> Hue, Lighting -> False just don't work, using settings like ColorFunction -> (RGBColor[Cos[Pi#/2.], .707, Sin[Pi#/2.]] &), Lighting -> False the parser breaks, because inside of RGBColor specifications just numbers are accepted. As the ColorFunction option is not supported, the ColorFunctionScaling option does not work either.
JavaView Snapshot Mathematica Snapshot
JavaView Applet JavaView Lite Applet
ColorFunction is an option for various graphics functions which specifies a function to apply to a values to determine the color to use for a particular a, a region. In[1]:= cf = SurfaceGraphics[Table[Sin[x]*Exp[y], {x, -Pi, Pi, Pi/4.}, {y, -E, E, E/4.}], ColorFunction -> Automatic, Lighting -> False];
Show[cf]

In[2]:= JavaView[cf]


© 1999-2005 Last modified: 03.10.2005 --- http://www.javaview.de --- The JavaView Project