Plot text: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= plot_text = | |||
Usage: plot text ''x'' ''y'' ''text'' | Usage: plot text ''x'' ''y'' ''text'' | ||
Latest revision as of 19:18, 28 January 2009
plot_text
Usage: plot text x y text
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.