# data.label.pos

Syntax

Vector Access

v = data.label.pos(lp<,i>)
data.label.pos(lp<,i>) = 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 or component v - position vector or component lp - label pointer i - optional vector component

Component Access

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

Get/set the $$x$$-component of the position.

Returns: f - $$x$$-component of the position vector f - $$x$$-component of the position vector lp - label pointer
f = data.label.pos.y(lp)
data.label.pos.y(lp) = f

Get/set the $$y$$-component of the position.

Returns: f - $$y$$-component of the position vector f - $$y$$-component of the position vector lp - label pointer
f = data.label.pos.z(lp) (3D only)
data.label.pos.z(lp) = f (3D only)

Get/set the $$z$$-component of the position.

Returns: f - $$z$$-component of the position vector f - $$z$$-component of the position vector lp - label pointer