PLOT TEXT ☆

`PLOT TEXT ,AT x,y : s$
` draws a label consisting of s$ at the point (x,y) ,where s$ is a string expression, and x,y are numeric expressions.
Examples
`PLOT TEXT ,AT 0, 0.2: "BASIC"
PLOT TEXT ,AT x, 0: STR$(x)
`

`PLOT TEXT ,AT x,y ,USING Format$ : exp1, exp2, ...
` draws a label of which literals are those of exp1, exp2, ...
Format$ is a string expression of which value is a format string.
Both numerical expressions and string expressions can be written for exp1, exp2, ....
Example
`PLOT TEXT ,AT x,y ,USING "#.### #.###":a,b`

`SET TEXT HEIGHT a
` specifies the text height on the problem coordinate, where a is a numeric expression.
(When you want to set text size in points, use original enhancement SET TEXT FONT.)

`SET TEXT COLOR n
` specifies the text foreground color, where n is a numeric expression.
The default text color is 1.

`SET TEXT JUSTIFY h$, v$
` designates the base point for texts.
h$ is one of "LEFT" , "CENTER" , or "RIGHT".
v$ is one of "TOP","CAP","HALF","BASE",or "BOTTOM"
Example
`SET TEXT JUSTIFY "right" , "top"`
The default text justify is "LEFT","BOTTOM".

`SET TEXT ANGLE a
` designates the angle of the text, where a is a numeric expression.
The unit of angle depends on OPTION ANGLE.

`ASK TEXT HEIGHT Numeric_Variable
` assigns the text height on the problem coordinate
`ASK TEXT COLOR numeric_Variable
` assigns the current text color
`ASK TEXT JUSTIFY String_Variable1，String_Variable2
` assigns the current text justification.
`ASK TEXT ANGLE numeric_variable
` assigns the current text angle.

Incompatibility with the standard
(1) When no transformation is applied, text figures and text angles are managed with respect to the physical coordinates.
(2) The default text height is determined by the font menu of the graphics window.

Original Enhancements
`PLOT LABEL ,AT x,y : String_Expression
PLOT LABEL ,AT x,y ,USING Format_String : expression, expression , …, expression
` draw the label.
Only the base point is transformed.
The shape, size and direction are not transformed.
`SET TEXT FONT FontName$
` specifies the text font name.
`SET TEXT FONT FontName$ ，size
` specifies the text font name and the size on points.
If the first parameter is null, only the size is changed.
If size is zero, The former size is preserved.
This has no compatibility with SET TEXT HEIGHT, so do not use this together with SET TEXT HEIGHT.
This suits the circumstances where PLOT LABEL statements are used.
Examples.
`SET TEXT FONT "Courier New",12
SET TEXT FONT "Times New Roman Italic" ,0
SET TEXT FONT "",9
`
`SET TEXT BACKGROUND "OPAQUE"
` Background of text is to be filled with the color of color index 0.
`SET TEXT BACKGROUND "TRANSPARENT"
` Background of text is not to be painted.
`ASK TEXT WIDTH(s$) n
` assigns the width of string expression s$ in the problem coordinates to a numeric variable n.

Obsolete original enhancement
`PLOT LETTERS ,AT x,y : String_Expression
PLOT LETTERS ,AT x,y ,USING Format_String : expression, expression , …, expression
` draw the label.
The shape is preserved.
Only the base point and the size and direction are transformed.