*ShearScale()

Sets the scale value used to display tensors.

Syntax

*ShearScale (scale)

Application

HyperView

Inputs

scale
A number in a range (0.0, 1.0) which represents the scale of a tensor.

Context

*BeginTensor()

Example

*BeginTensor()
    *ResultType("Stress", "Major Mid Minor")
    *BeginSelection(Element, SelectAll, "User_Set", 0)
    *Add("all")
    *EndSelection()
    *Layer("Lower")
    *LayerFilter(0)
    *ResolvedInSystem(-1)
    *Format("Principal")
    *ColorMode(RGB)
    *ComponentColor(1, 0, 0, 
                    0, 1, 0, 
                    0, 0, 1, 
                    1, 1, 0, 
                    0, 1, 1, 
                    1, 0, 1)
    *Scale(normalize, 2)
    *DrawValues("Normal", "Off")
    *DrawValues("Shear", "Off")
    *DisplayMode("Moment")
    *ShearScale(0.32)
    *BeginLegend()
    *LegendStyle("category")
    *LegendType("dynamic")
    *NumCols(3)
    *MaxLevelsAllowed(3)
    *MinMax(-1063.73, 1103.11)
    *ColorRGB("0 0 255", 
              "0 255 0", 
              "255 0 0")
    *NoResultColor("192 192 192")
    *HeaderFont("Arial", 10, "255 255 255", "left",
                "bottom", "0", "0")
    *HeaderText("hide", "")
    *FooterFont("Arial", 10, "255 255 255", "left",
                "bottom", "0", "0")
    *FooterText("hide", "")
    *TitleFont("Arial", 10, "255 255 255", "left",
               "bottom", "0", "0")
    *Title("show", 1, "title")
    *Numbers("show", "scientific", 3)
    *NumbersFont("Arial", 10, "255 255 255", "left", "center",
                 "0", "0")
    *ShowMax("hide")
    *ShowMaxLocal("hide")
    *ShowMin("hide")
    *ShowMinLocal("hide")
    *EntityLabel("hide")
    *LegendPosition("UpperLeft")
    *BackGroundColor(" 44  85 126")
    *Transparency("On")
    *Filter("LINEAR")
    *Endlegend()
*EndTensor()

Comments

This statement is used to modify the way tensors are drawn by increasing or decreasing their scale. The default value is “0.4”.