Annotate Functions Listed Alphabetically
|
Name
|
Syntax and Description
|
|---|---|
|
FUNCTION='ARROW';
Draws an arrow in the graphics output from the (XLAST,
YLAST) coordinates to the (X,Y) coordinates specified in the function.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION= “ARROW”;
Draws an arrow annotation from the specified (X1, Y1) coordinates to the
specified (X2,Y2) coordinates.
Product: Base SAS
Document: SAS ODS Graphics Procedures for SAS Viya Workbench
| |
|
FUNCTION='BAR';
Draws a rectangle whose lower left corner is defined
by the internal variables (XLAST, YLAST) and whose upper right corner
is defined by the specified X, Y variable pair. You can define the
color of the fill, the fill pattern, and the edge lines to be drawn.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='CNTL2TXT';
Copies the values of the internal coordinates stored
in the variable pairs (XLAST, YLAST) to (XLSTT, YLSTT).
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='COMMENT';
Inserts comments within the Annotate data set. The
observations generated by the COMMENT function are ignored when the
data set is processed.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='DEBUG';
Writes the values of internal coordinates and Annotate
variables to the SAS log before and after processing the next command
(unless it is DEBUG) in the Annotate DATA step.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='DRAW';
Draws a line in the graphics output from the (XLAST,
YLAST) coordinates to the (X, Y) coordinates specified in the function.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='DRAW2TXT';
Draws a line from (XLAST, YLAST) to (XLSTT, YLSTT)
without updating any of those variables.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='FRAME';
Draws a border around the portion of the display
area defined by the XSYS and YSYS variables. Can specify a background
color for the framed area.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='IMAGE';
Displays an image in the graphics output from the
current (X,Y) coordinates to the (X, Y) coordinates that are associated
with the IMGPATH variable.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION= “IMAGE”;
Specifies a graphic file to use for an image annotation.
If no (X1, Y1) coordinates are provided, the image appears in the
center of the graph.
Product: Base SAS
Document: SAS ODS Graphics Procedures for SAS Viya Workbench
| |
|
FUNCTION='LABEL';
Places text in the graphics output. Associated variables
can control the color, size, font, base angle, and rotation of the
characters displayed. You can also animate labels using the HTML=
variable. When you specify the HTML= variable, you include the animation
action and the parameters that control the animation. The animated
label feature is available only when you use one of the SVG device
drivers, except SVGANIM.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION= “LINE”;
Draws a line annotation from the specified (X1,
Y1) coordinates to the specified (X2,Y2) coordinates.
Product: Base SAS
Document: SAS ODS Graphics Procedures for SAS Viya Workbench
| |
|
FUNCTION='MOVE';
Moves the drawing pointer to a specific location
without drawing a line.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION= “OVAL”;
Draws an oval annotation around the specified (X1,
Y1) coordinates using the specified height and width.
Product: Base SAS
Document: SAS ODS Graphics Procedures for SAS Viya Workbench
| |
|
FUNCTION='PIE';
Draws pie slices in the graphics output.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='PIECNTR';
Sets new center and radius values for later use
by the PIEXY function but does not draw an arc.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='PIEXY';
Calculates a point on the outline of the slice arc.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='POINT';
Places a single point at the (X, Y) coordinates
in the color that you specify. The point is one visible pixel in size.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='POLY';
Specifies the beginning point of a polygon. Associated
variables can define the fill pattern and color, as well as the line
type that outlines the polygon.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='POLYCONT';
Continues drawing a polygon begun with the POLY
function. POLYCONT specifies each successive point in the polygon
definition.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION= “POLYCONT”;
Continues drawing a polygon that was begun with
the POLYGON function, or a line that was begun with the POLYLINE function.
POLYCONT specifies each successive point in the polygon or polyline.
Product: Base SAS
Document: SAS ODS Graphics Procedures for SAS Viya Workbench
| |
|
FUNCTION= “POLYGON”;
Specifies the beginning point of a polygon. A polygon
is a connected series of lines that form a closed shape. This function
is used in conjunction with two or more POLYCONT functions to define
vertex points for the polygon. Associated variables can define the
fill pattern and color, as well as the line type that outlines the
polygon.
Product: Base SAS
Document: SAS ODS Graphics Procedures for SAS Viya Workbench
| |
|
FUNCTION= “POLYLINE”;
Specifies the beginning point of a polyline, which
is a connected series of line segments. This function is used in conjunction
with one or more POLYCONT functions to draw a series of connected
straight lines.
Product: Base SAS
Document: SAS ODS Graphics Procedures for SAS Viya Workbench
| |
|
FUNCTION='POP';
Removes the (XLAST, YLAST) and (XLSTT, YLSTT) values
from the LIFO stack and updates the internal coordinate pairs with
the retrieved values.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='PUSH';
Adds current (XLAST, YLAST) and (XLSTT, YLSTT) values
to the LIFO stack.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION= “RECTANGLE”;
Draws a rectangle annotation around the specified
(X1, Y1) coordinates using the specified height and width. By default,
the (X1, Y1) coordinates constitute the center of the rectangle, though
you can change this behavior using the ANCHOR option.
Product: Base SAS
Document: SAS ODS Graphics Procedures for SAS Viya Workbench
| |
|
FUNCTION='SWAP';
Exchanges values of (XLAST, YLAST) with (XLSTT,
YLSTT) and vice versa.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION='SYMBOL';
Places symbols in the graphics output. Associated
variables can specify the color, font, and height of the symbols displayed.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
| |
|
FUNCTION= “TEXT”;
Places text in the graph output. Associated variables
can control the color, size, font, base angle, and rotation of the
characters displayed. If you do not supply the (X1, Y1) coordinates,
the text is placed in the center of the graph.
Product: Base SAS
Document: SAS ODS Graphics Procedures for SAS Viya Workbench
| |
|
FUNCTION= “TEXTCONT”;
Continues a text string that was started using the
TEXT function. You can set the continued text apart from the main
text by specifying different text attributes.
Product: Base SAS
Document: SAS ODS Graphics Procedures for SAS Viya Workbench
| |
|
FUNCTION='TXT2CNTL';
Copies the values (XLSTT, YLSTT) to (XLAST, YLAST),
replacing previous values of (XLAST, YLAST).
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference for SAS Viya Workbench
|
Last updated: September 24, 2026