This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

FillColorDirection, FillColorDirectionX, FillColorDirectionY, FillColorDirectionZ

Direction of color transitions on surfaces

Value Summary

FillColorDirectionLibrary wrapper for "[FillColorDirectionX, FillColorDirectionY]" (2D), "[FillColorDirectionX, FillColorDirectionY, FillColorDirectionZ]" (3D)See below
FillColorDirectionX, FillColorDirectionY, FillColorDirectionZInheritedReal number


FillColorDirection determines the direction in which the color transitions for FillColorType = Dichromatic etc. take place.

When setting FillColorType to some other value than Flat or Functional, MuPAD® produces a "height-coloring." By default, this color method actually uses the height of a point. Using FillColorDirection, the axis along which the color method should be applied can be changed.


Example 1

By default, MuPAD uses height coloring along the z axis for 3D objects:

s := plot::Spherical([sin(r),thet/(r+1)+1, thet*r], 
                     r=0..1, thet=0..3*PI, Submesh=[2,2]):

By changing FillColorDirection, the color can be rotated on the object:

plot(s, FillColorDirection = [0, 1, 0])

See Also

MuPAD Functions

Was this topic helpful?