| Contents | Index |
LineColorDirection determines the direction in which the color transitions for LineColorType = Dichromatic etc. take place.
|
Attribute |
Type |
Value |
See Also:
FillColorDirection, LineColor, LineColor2, LineColorType
Details:
When setting LineColorType 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 LineColorDirection, 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 2D objects:
f := plot::Function2d(sin(x), x=-PI..PI,
LineWidth = 1, LineColorType = Rainbow):
plot(f)

By changing LineColorDirection, this direction can be set to any angle. Note that LineColorDirection is an inherited attribute and may therefore be set at “top level” in the plot call:
plot(f, LineColorDirection = [1, 1])


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 |