HSYS Variable

Defines the coordinate system and area of the output used by the SIZE variable to display the Annotate graphics. In addition, you can use the HSYS variable with the JAVAIMG device to control the marker size and line size for the BAR, DRAW, DRAW2TXT, POLY, and SYMBOL functions.

Type:character
Length:1
Default:4

Syntax

HSYS='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:

Coordinate Systems

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

D

point size (text only)

These values are also used by the XSYS and YSYS variables. See Coordinate Systems for a description of the areas and coordinate systems.

Details

About the Coordinate System

The that you specify with the HSYS variable affects how the function interprets the value of the SIZE variable. For example, if you use HSYS='3' and SIZE=10 with the DRAW function, the thickness of the line is 10% of the . If you use HSYS='1' and SIZE=10 with DRAW, the thickness of the line is 10% of the .

For text only, HSYS='D' specifies that text sizes are in points. For example, if you use HSYS='D' and SIZE=10 for the LABEL function, the label text uses a 10-point .

If you use HSYS='D' with a function that does not create text, a warning appears in the log and the HSYS='4' coordinate system is used.

Functions

You can use HSYS with these functions, all of which also use the SIZE variable:

DRAWLABELSYMBOL
DRAW2TXTPIE
FRAMEPIECNTR
Last updated: June 23, 2026