txt

  'txt' '!'|<set>|<node> ->
        ['n'|&'v'|&'t'|&'e'|&'f'|&'i'|&'s'|&'l'|&'r'] ->
        [<dx> <dy>] [<"description">]
Creates node-attached texts, see figure 8). The texts are generated but not displayed. The commands ”plot” and ”plus” have to be used for that purpose (the color 'n' is recommended since it is good visible over the white background as well as over the colors of most colormaps). The texts can be deleted with ”del”. See also ”qtxt” for the interactive command.

The texts comprise of a node-nr and the value and an user defined description. The node-nr can be deselected by providing the key 'n', the value can be deselected with key 'v' and the description with key 't'. The exponential format of the value can be selected with 'e', float with 'f' and integer with 'i'. The left bound position can be defined with 'l', right bound with 'r'. All this flags can be combined.

The texts are attached to the nodes stored in a set;

txt nodset

or to a single node:

txt nodenr

If the ! character is used instead of a setname or a node number then a new set with the name “-txt” will be created and all nodes with attached texts will be stored there and the texts will be redefined:

txt !

Regard the following examples:

txt nodset fn

deselects the node-nr and selects the float format for the value.

The text is placed left bound if using the parameter 'l':

txt nodset l

An eventually given vector dx,dy is scaled to the left bound position:

txt nodset l 0.1 0.5

Using an infinite gradient in the left- or right bound mode

txt nodset l 0. 0.5

will place the texts in the upper corner.

If not right or left bound the optional dx,dy values define an offset (normalized coordinates) to the actual node position on the screen where the origin is in the lower left corner:

txt nodset 0.1 0.2

The offset “0 0” will bring them back to the node position.

The description must be given in quotation marks:

txt nodenr “hello world”

Per default the description is placed at the trailing position. The key 's' shifts it to the front. Be aware that descriptions are persistend and can only be overwritten. To delete descriptions they have to be overwritten with an empty string:

txt nodenr “”