Draw a text string on the plot
"
P"
– Use PGPTEXT which allows the position, justification and angle of the text to be
specified.
"
M"
– Use PGMTEXT which allows the text to be written relative to the viewport.
"
S"
– Use PGTEXT which allows only simple (x,y) positioning of the text.
[The value is prompted for.]
"
P"
or "
S"
,
the X coordinate of the text. With the "
M"
action, this parameter specifies the number of
character heights from the viewport where the text is to be plotted (negative values are
allowed).
[The value is prompted for.]
"
P"
or "
S"
, the Y
coordinate of the text. With the "
M"
action, this parameter specifies the fraction along the edge where
the text is to be plotted.
[The value is prompted for.]
[The value is prompted for.]
"
M"
, the side of the
viewport where the text is to plotted. This may be one of the following: "
T"
– The top edge.
"
B"
– The bottom edge.
"
L"
– The left-hand edge.
"
R"
– The right-hand edge.
"
LV"
– The left-hand edge, but with the string written vertically.
"
RV"
– The right-hand edge, but with the string written vertically.
If the value is not specified on the command line, the current value is used. The current value is
initially set to "
T"
.
If the value is not specified on the command line, the current value is used. The current value is initially set to 0.0.
"
P"
, the angle relative to the
horizontal at which the text string is to be plotted.
If the value is not specified on the command line, the current value is used. The current value is initially set to 0.0.