83Plus:Basic:Graphics:Text(: Difference between revisions
From WikiTI
Jump to navigationJump to search
creation |
Cleaned up to match template |
||
| Line 4: | Line 4: | ||
'''Token size:''' 1 byte | '''Token size:''' 1 byte | ||
'''Syntax:''' Text( | '''Syntax:''' Text([-1,]''y'',''x'',''value'') | ||
Draws text on the graph screen. | |||
== Outputs: == | == Outputs: == | ||
''value'' will be displayed at ''x'',''y'' in the small font. If the -1 is included, the large font will be used instead. As with the other text-drawing commands, ''value'' can be a string, a list, a variable, or a matrix. | |||
== Comments == | == Comments == | ||
If | * If the string does not fit on the screen, the extra characters will be cut off. | ||
* ''x'' and ''y'' are measured in pixels, not characters (unlike [[83Plus:Basic:Graphics:Disp|Disp]] or [[83Plus:Basic:Graphics:Output(|Output]]). | |||
* The text will also be copied to the graph buffer. | |||
== Examples == | == Examples == | ||
:Text(3,4,"This is in small font.") | :Text(3,4,"This is in small font.") | ||
:Text(-1,4,3,"This is in BIG font.") | :Text(-1,4,3,"This is in BIG font.") | ||
Latest revision as of 21:34, 7 October 2006
Synopsis
Token size: 1 byte
Syntax: Text([-1,]y,x,value)
Draws text on the graph screen.
Outputs:
value will be displayed at x,y in the small font. If the -1 is included, the large font will be used instead. As with the other text-drawing commands, value can be a string, a list, a variable, or a matrix.
Comments
- If the string does not fit on the screen, the extra characters will be cut off.
- x and y are measured in pixels, not characters (unlike Disp or Output).
- The text will also be copied to the graph buffer.
Examples
:Text(3,4,"This is in small font.") :Text(-1,4,3,"This is in BIG font.")