The SGPLOT Procedure |
INSET "text-string-1" <... "text-string-n"></ option(s)>; |
INSET (label-list) </ option(s)>; |
option(s) can be one or more of the following:
BORDER | NOBORDER | |
LABELALIGN= LEFT | CENTER | RIGHT | |
POSITION= position-value | |
TEXTATTRS= style-element | |
TITLE= "text-string" | |
TITLEATTRS= style-element | |
VALUEALIGN= LEFT | CENTER | RIGHT |
Required Arguments |
you must specify one of the following arguments:
specifies one or more quoted text strings. Each string is placed on a separate line in the text box. For example, "My line 1" "My line 2".
specifies a series of quoted labels and values for the text box.
Specify your label-value pairs as follows:
("label-1" = "value-1" ... "label-n" = "value-n")
For example, ("My label 1" = "My value 1" "My label 2" = "My value 2").
Options |
specifies whether to display a border around the text box. The BORDER option displays the border. The NOBORDER option hides the border.
specifies how the labels are aligned when you specify label-value pairs. Specify one of the following:
aligns the text to the left.
aligns the text to the center.
aligns the text to the right.
Default: | LEFT |
specifies the position of the text box within the plot. The position values are as follows:
BOTTOM |
places the text box at the bottom of the graph. |
BOTTOMLEFT |
places the text box at the bottom left corner of the graph. |
BOTTOMRIGHT |
places the text box at the bottom right corner of the graph. |
LEFT |
places the text box at the left side of the graph. |
RIGHT |
places the text box at the right side of the graph. |
TOP |
places the text box at the top of the graph. |
TOPLEFT |
places the text box at the top left corner of the graph. |
TOPRIGHT |
places the text box at the top right corner of the graph. |
If you do not specify a position, then a position is determined automatically.
specifies the appearance of the text in the text box.
Default: | The default appearance of the text is specified by the GraphValueText style element in the current style. |
Tip: | The GraphDataText style element makes the text slightly smaller. The GraphLabelText style element makes the text slightly larger. |
specifies a title for the text box. The title text is always center-aligned.
specifies the appearance of the title for the text box.
Default: | The default appearance of the title text is specified by the GraphLabelText style element in the current style. |
specifies how the values are aligned when you specify label-value pairs. Specify one of the following values
aligns the text to the left.
aligns the text to the center.
aligns the text to the right.
Default: | RIGHT |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.