| Contents | Index |
FillColorDirection determines the direction in which the color transitions for FillColorType = Dichromatic etc. take place.
|
Attribute |
Type |
Value |
See Also:
FillColor, FillColor2, FillColorType, LineColorDirection
Details:
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
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]):
plot(s)

By changing FillColorDirection, the color can be rotated on the object:
plot(s, FillColorDirection = [0, 1, 0])


Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |