%PIEXY Annotate Macro

Calculates a point in relation to the latest pie slice.

Updates:XLAST, YLAST
Variables written out:ANGLE, FUNCTION, SIZE, X, Y
Requirement:You must run the %ANNOMAC macro before using this or any of the other SAS/GRAPH annotate macros. See Making the Macros Available.

Table of Contents

Syntax

%PIEXY (angle, size);

Parameters

angle

specifies the angle used to calculate the point, relative to the center of the latest pie slice. The value can be a number, a numeric constant, or a numeric variable.

SeeANGLE Variable for the PIEXY function for valid angle values.

size

specifies the radius multiplier that works with the angle parameter to determine the location of the point. The value can be a number, a numeric constant, or a numeric variable.

SeeSIZE Variable for the PIEXY function for valid size values.

Details

This macro is useful when you want to label a or a circle.

When you use this macro, the Annotate facility expects a slice to have been previously drawn. If a slice has not been drawn or if the PIECNTR Function has not been processed, you can get erroneous results.

Last updated: January 17, 2025