DTEXT procedure

Adds text to a graph (S.A. Harding).


Option

WINDOW = scalar
Window number of the graph; default 1


Parameters

Y = variates or scalars
Vertical coordinates

X = variates or scalars
Horizontal coordinates

TEXT = texts
Text to plot

PEN = scalars, variates or factors
Pens to use; default 1


Description

The DTEXT procedure provides a convenient way of adding textual annotation or description to a plot. The text to plot is specified by the TEXT parameter. This can be either a single string, or a GenStat text structure containing several lines of text. The Y and X parameters specify where to plot the text, with scalars for a single string or line, or with variates for several lines. The PEN parameter specifies the pen or pens to use (default 1), and the WINDOW option specifies the window where the plot is taking place (default 1).

 

Option: WINDOW.

Parameters: Y, X, TEXT, PEN.


Action with RESTRICT

DTEXT takes account of restrictions on any set of Y, X and TEXT parameters.