XSYS Variable

Defines the coordinate system and area of the output used by the X and XC variables to display the Annotate graphics.
Type: character
Length: 1
Default: 4

Syntax

XSYS='coordinate-system';

Variable Values

coordinate-system
specifies a value that represents a coordinate system. Values can be 1 through 9 and A through C as shown in the following table:
Absolute Systems
Relative Systems
Coordinate System Units
1
7
Percentage of data area
2
8
Data values
3
9
Percentage of graphics output area
4
A
Cell in graphics output area
5
B
Percentage of procedure output area
6
C
Cell in procedure output area
These values are also used by the HSYS and YSYS variables. See Coordinate Systems for a description of the areas and coordinate systems.

Details

Using the XSYS Variable with the X and XC Variables

The coordinate system that you specify with the XSYS variable affects how the function interprets the value of the X or XC variable.
Note: Not all coordinate systems can be used with all Annotate variables. For any restrictions, see the individual variables in this section.

Functions

You can use the XSYS variable with these functions:
ARROW LABEL POINT
BAR MOVE POLY
DRAW PIE POLYCONT
FRAME PIECNTR SYMBOL
The behavior of the XSYS variable is function dependent for the following functions:.
BAR, DRAW
The coordinate system that you specify with the XSYS variable affects how the function interprets the value of the X or XC variable. If XC is used, XSYS='2' must also be used.
FRAME
The XSYS and YSYS variables define the area enclosed by the frame. To draw a frame that encloses the axis area, use XSYS='1' and YSYS='1', as shown in the following figure.
Frame Created When XSYS='1' and YSYS='1'
Frame Created When XSYS='1' and YSYS='1'
To draw a frame that encloses the entire graphics output area, specify XSYS='3' and YSYS='3', as shown in the following figure.
Frame Created When XSYS='3' and YSYS='3'
Frame Created When XSYS='3' and YSYS='3'
To limit the size of the frame to the size of the procedure output area, specify a value of 5 for XSYS and YSYS.
Note that the values of XSYS and YSYS can differ. You can specify a frame that occupies the entire width of the graphics output area and only the vertical width of the procedure output area by specifying XSYS='3' and YSYS='5', as shown in the following figure.
Frame Created When XSYS='3' and YSYS='5'
Frame Created When XSYS='3' and YSYS='5'