*ColorMode()

Indicates if the tensor or vector result should be displayed using a legend or by the direction of Sxx, Syy, and Szz using the colors you select.

Syntax

*ColorMode (mode)

Application

HyperView

Inputs

mode
Use legend if tensors or vectors should use the legend, or use RGB, otherwise.

Context

*BeginTensor()

*BeginVector()

Example

*BeginTensor()
    *ResultType("Plastic strain", "Major Mid Minor")
      *BeginSelection(Element, SelectVisible)
          *Add("Brick id 1-7680")
      *EndSelection()
    *Layer("Z2/Curvature")
    *ResolvedInSystem(0)
    *Format("Principal")
    *ColorMode(Legend)
    *Scale(normalize, 1)
*EndTensor()
OR
*BeginVector()
     *ResultType("Displacement", "x y z")
     *BeginSelection(Part, SelectVisible)
            *Add("Part id 2-4")
            *Add("Part id 6-8")
    *EndSelection()
    *ResolvedInSystem(-1)
    *ColorMode(Legend)
    *Scale(uniform, 1)
    *DrawComponents(Yes)
    *BeginLegend()
         *LegendType(static)
         *NumCols(9)
         ----
         ----
    *EndLegend()
*EndVector()

Comments

This depicts the tensor or vector result as a legend or with the color direction.