HyperWorks Desktop

*AxisIndex()

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

*AxisIndex()

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

Previous topic Next topic No expanding text in this topic  

*AxisIndex()

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

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

Syntax

*AxisIndex(Index)

Arguments

Name

Description

 

Index

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

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

Application

HyperGraph.

Context

*BeginCurve()

*BeginDatumLine()

*BeginVector()

Report Definitions

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.

See also

 

*BeginCurve()

*BeginDatumLine()

*BeginVector()

List of Session Statements