*Offset()

Offsets the values in a data vector.

Syntax

*Offset (Number)

Application

HyperView and HyperGraph.

Inputs

Number
The distance to offset the data vector.

Context

*BeginCurve()

*BeginVector()

Report Definitions

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()

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.