*AxisIndex()

Specifies the axis to which a vector belongs or the axis to which a datum line is attached.

Syntax

*AxisIndex (Index)

Application

HyperGraph

Inputs

Index
The index of the axis to which the vector is assigned or to which the datum line is attached.

Context

*BeginCurve()

*BeginDatumLine()

*BeginVector()

Report Definitions

Example

*BeginCurve(On, "Resultant Force (N)")
	*Line(1, 2, 1)
	*Symbol(1, 2, 10)
	*BeginVector(X, File)
		*File_name("../../demos/plotting/Forces")
		*DataType("Force")
		*Request("abd.force trans")
		*Component("Resultant Force (N)")
		*ScaleFactor(1)
		*Offset(0)
		*AxisIndex(2)
	*EndVector()
*EndCurve()

*BeginDatumLine(h, "Untitled Datum", on)
		*Label("{min(c1.y)+3}")
		*Position("min(c1.y)+3")
		*AxisIndex(1)
		*LabelLocation(4)
		*Style(2)
		*Thickness(1)
		*Color(5)
		*LabelFont("Arial", 1, 1, 18)
*EndDatumLine()

Comments

The default is 1 for vectors.

The default is 1 for datum lines.

Each plot can have up to five additional horizontal and vertical axes for each *BeginPlot() and *EndPlot() block. The first axis block in a script is index 1, the second is index 2, and so on.