XTEXTLOCATION

Syntax: | `SET XTEXTLOCATION n SET %XTEXTLOCATION n GET XTEXTLOCATION { n } GET %XTEXTLOCATION { n }`
Default value: | `%XTEXTLOCATION = 50`

`XTEXTLOCATION` controls the horizontal reference position of a character string drawn using the `TEXT` command. This reference point is used for text alignment. See the explanation of `TEXTALIGN` for how `XTEXTLOCATION` will be used.

`XTEXTLOCATION` will be used if `TEXTINTERACTIVE` ≠ 0.

There are two forms for `XTEXTLOCATION`:

`XTEXTLOCATION` | → | the horizontal coordinate, in world coordinate units, of the reference point
`%XTEXTLOCATION` | → | the horizontal coordinate, expressed as a percentage of the width of the graphics sub-window, that is, `XTEXTLOCATION = %XTEXTLOCATION * (XUPPERWINDOW- XLOWERWINDOW)/100`

TEXTINTERACTIVE
YTEXTLOCATION