data.label.pos

Syntax

v := data.label.pos(lp)
data.label.pos(lp) := v

Get/set the position. The text and a line or arrow are drawn from this position to the end position (specified with data.label.end).

Returns:v - position vector
Accepts:v - position vector
Arguments:lp - label pointer

Component Access

f := data.label.pos (lp)->x
data.label.pos (lp)->x := f

f := data.label.pos.x(lp)
data.label.pos.x(lp) := f

Get/set the \(x\)-component of the position. The text and a line or arrow are drawn from this position to the end position (specified with data.label.end).

Returns:f - \(x\)-component of the position vector
Accepts:f - \(x\)-component of the position vector
Arguments:lp - label pointer

Access other vector components (\(y\), \(z\)) by substituting the component name where \(x\) appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding an optional integer in the function arguments (data.label.pos(lp,<int>)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f := data.label.pos.y(lp)
f := data.label.pos.z(lp)