TEXT Variable

Specifies the text or symbol to be placed on the graphics output.

Type:character
Length:up to 200
Default:blank string

Syntax

TEXT='text-string' | 'special-symbol';

Variable Values

text-string

specifies the text that is used as a label (LABEL or COMMENT function) or symbol (SYMBOL function). The maximum length for text-string is 200 characters.

special-symbol

specifies the name of a special symbol. The maximum length for special-symbol is eight characters. See Supported Plot Symbols.

Details

Defining the TEXT Variable

Define the TEXT variable with sufficient length to contain all of the characters in your text string. If you need longer strings, use separate observations and POSITION='0' to continue the text.

Use a LENGTH statement to set the length of the TEXT variable if the length of a text string is longer than one character.

Functions

You can use the TEXT variable with these functions:

COMMENT
LABEL
SYMBOL
Last updated: June 23, 2026