Chapter Contents |
Previous |
Next |
%LABEL |
Variables affected: | ANGLE, COLOR, FUNCTION, POSITION, ROTATE, SIZE, STYLE, TEXT, X, Y |
Updates: | XLSTT, YLSTT |
Syntax |
Syntax |
%LABEL (x, y, text-string, color, angle, rotate, size, style, position); |
Parameter | Description |
x,y | numeric constant or numeric variable name; the x and y coordinates of the location of the label in the graphics output. |
text-string | character string enclosed in quotation marks or character variable name; the text that you want to display. |
color | literal; the color of the line. Color can be any SAS/GRAPH color name and must not be enclosed in quotation marks. Use an asterisk (*) to indicate the previously defined value for color. |
angle | numeric constant or numeric variable name; the angle of the character baseline with respect to the horizontal. The pivot point is at (x, y). |
rotate | numeric constant or numeric variable name; the rotation angle of each character in the string. It is equivalent to the ROTATE= option in the FOOTNOTE, NOTE, and TITLE statements. |
size | numeric constant or numeric variable name; the height of the text string being drawn. The height units are based on the value of the HSYS variable. See HSYS Variable for an explanation of the values used with this variable. |
style | literal; the character font that draws the text. Do not enclose style in quotation marks unless you are specifying a hardware font description. See SAS/GRAPH Fonts for more information about specifying fonts. |
position | literal; the placement and alignment of the text string. Position can take values from 0 to F (hexadecimal numbering) and <, +, and > and must not be enclosed in quotation marks. Invalid or missing values default to 5. For an explanation of the values of position, see POSITION Variable. |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.