HyperWorks Desktop

*Offset()

Offsets the values in a data vector.

*Offset()

Offsets the values in a data vector.

Previous topic Next topic No expanding text in this topic  

*Offset()

Offsets the values in a data vector.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*Offset(Number)

Arguments

Name

Description

 

Number

The distance to offset the data vector.

Example

*BeginCurve(On, "Resultant Force (N)")

 *Line(1, 2, 1)

 *Symbol(1, 2, 10)

 *BeginVector(X, File)

         *Filename("../../demos/plotting/FORCES")

         *DataType("Force")

         *Request("abd.force trans")

         *Component("Resultant Force (N)")

         *ScaleFactor(1)

         *Offset(0)

 *EndVector()

 *BeginVector(Y, File)

         • • •

 *EndVector()

 *BeginVector(Time, File)

         • • •

 *EndVector()

*EndCurve()

Application

HyperView and HyperGraph.

Context

*BeginCurve()

*BeginVector()

Report Definitions

Comments

When a data vector is offset, the original data values are not actually altered.  The offset applies only to the curve as it appears on screen.

The X data vector is shifted to the right for positive values and to the left for negative values.

The Y data vector is shifted up for positive values and down for negative values.

See also

 

*BeginWindow()

*EndPage()

List of Session Statements