INCLAN Graphics: plot text: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 1: | Line 1: | ||
== Synopsis == | |||
'''plot text''' ''x'' ''y'' ''text'' | |||
== Description == | |||
Print ''text'' at position (''x'', ''y''). The alignment of the text with respect to the reference position depends on the current values of the plot parameters '''align''' and '''rotate'''. The current values of the plot parameters '''font''', '''textsize''', '''weight''' and '''angle''' define the font used to write the ''text''. In addition, the ''text'' may contain the following embedded text commands: | |||
@T Change font type to Times. | @T Change font type to Times. | ||
@H Change font type to Helvetica. | @H Change font type to Helvetica. | ||
@C Change font type to Courier. | @C Change font type to Courier. | ||
@S Change font type to Symbol. | @S Change font type to Symbol. | ||
@b Change to boldface. | @b Change to '''boldface'''. | ||
@i Change to italics. | @i Change to ''italics''. | ||
@^ Start a superscript. | @^ Start a <sup>superscript</sup>. | ||
@v Start a subscript. | @v Start a <sub>subscript</sub>. | ||
@N Return to standard font, end sub- or superscript. | @N Return to standard font, end sub- or superscript. | ||
If the text contains multiple blanks, it must be enclosed in double | |||
quotes. Double quotes that are part of the text must be preceded by a | |||
backslash. | If the text contains multiple blanks, it must be enclosed in double quotes. Double quotes that are part of the text must be preceded by a backslash. |
Latest revision as of 09:34, 19 August 2009
Synopsis
plot text x y text
Description
Print text at position (x, y). The alignment of the text with respect to the reference position depends on the current values of the plot parameters align and rotate. The current values of the plot parameters font, textsize, weight and angle define the font used to write the text. In addition, the text may contain the following embedded text commands:
@T Change font type to Times. @H Change font type to Helvetica. @C Change font type to Courier. @S Change font type to Symbol. @b Change to boldface. @i Change to italics. @^ Start a superscript. @v Start a subscript. @N Return to standard font, end sub- or superscript.
If the text contains multiple blanks, it must be enclosed in double quotes. Double quotes that are part of the text must be preceded by a backslash.