3.7.5.28 Layer.Axis.Arrow

LabTalk Object Type:

Window

The arrow object is a sub-object of the (layer) axis object. It is also a window object. And axis is a sub-object of layer object. You can use range notation to define a layer object:

range layerObject = [pageName]layerName!

And then access the axis object by:

layerObject.Axis.arrow.property

Where Axis is the axis specification: X is the bottom X axis, X2 is the top X axis, Y is the left Y axis, Y2 is the right Y axis, Z is the front Z axis, Z2 is the back Z axis, Zh is the ZhX axis, Zh2 is the back ZhY axis, and Zh3 is the back ZhZ axis.

Or use the following syntax:

[winName!]layer[n].axis.arrow.property =

Where,

WinName! is optional. If winName! is not specified, axis arrow in the active graph window are affected.

N is the layer number. If n is not specified, the active layer is used.

Axis is the axis specification: X is the bottom X axis, X2 is the top X axis, Y is the left Y axis, Y2 is the right Y axis, Z is the front Z axis, Z2 is the back Z axis, Zh is the ZhX axis, Zh2 is the back ZhY axis, and Zh3 is the back ZhZ axis.

Properties:

Property Access Description
layer.axis.arrow.length Read/write,
numeric

Length of the axis arrow.

layer.axis.arrow.width Read/write,
numeric

Width of the axis arrow.

layer.axis.arrow.offset Read/write,
numeric

Offset of the axis arrow from the axis line. The offset value is % of axis length

layer.axis.arrow.shape Read/write,
numeric

Shape of the axis arrow. The value is the index of the arrow shape list.

Examples:

This (Script window) script types to the Script window the width of the aix arrow of the X axis of layer 3 of the active window.

Layer3.x.arrow.width =

The next script sets the arrow shape of the Y axis in the first layer of the Graph3 window.

Graph3!layer1.y.grid.minorcolor = 2;