%SLICE Macro

Draws a arc, pie slice, or circle, with available line types, colors, and fill types.
Updates: XLAST, YLAST
Variables written out: ANGLE, COLOR, FUNCTION, LINE, ROTATE, SIZE, STYLE, X, Y
Requirement: You must run the %ANNOMAC macro before using any other annotate macros. For more information, see Making the Macros Available.

Syntax

%SLICE (x, y, angle, rotate, size, color, style, line);

Parameters

x, y
specify the center point of the arc. Values can be numbers, numeric constants, or numeric variables. For details, see the Annotate X Variable.
angle
specifies the starting point of the arc. The value can be a number, a numeric constant, or a numeric variable. For details and valid values, see the Annotate ANGLE Variable for the PIE function.
rotate
specifies the sweep of the arc. The value can be a number, a numeric constant, or a numeric variable. For valid values, see the Annotate ROTATE Variable for the PIE function.
size
specifies the radius of the arc. The value can be a number, a numeric constant, or a numeric variable. For details, see the Annotate SIZE Variable.
color
specifies the color of the arc outline and optional fill using a character string without quotation marks. See the Annotate COLOR variable for valid values. Use an asterisk (*) to specify the previous value of the color parameter.
style
specifies the fill pattern for the slice or circle, using a character string without quotation marks. For details and valid values, see the Annotate STYLE Variable (Patterns) for the PIE function.
line
specifies which lines of a pie slice are to be drawn. The value can be a number, a numeric constant, or a numeric variable. For valid values and details, see the LINE Variable for the PIE function.