Controlling the Drawing Space

About the Drawing Space

You can control the position and scaling of your annotations by specifying the drawing space and units in the SG annotation data set. You have the option to specify the drawing space for the X or Y axes individually, or for both axes.
All annotations are rendered in one of four drawing areas:
graph area
the entire region of the graph image. The graph area contains the axes, titles, footnotes, legends, and one or more cells.
layout area
the area of the layout, not including any titles and footnotes.
wall area
the area within the axes, including offsets. (This area is not available when using the SGPANEL and SGSCATTER procedures.)
data area
the area within the axes, not including offsets. (This area is not available when using the SGPANEL and SGSCATTER procedures.)
Annotations can be rendered in the drawing areas using one of three units:
  • percentage
  • pixels
  • data value (data area only)

Drawing Space Variables

You can specify the drawing space values for the following variables in the SG annotation data set:
Data Set Variables That Are Used to Specify Drawing Space
Variable
Description
Supported Functions
DRAWSPACE
specifies the drawing space for the annotation
all except POLYCONT and TEXTCONT
X1SPACE
specifies the drawing space of the annotation’s X coordinate.
all except TEXTCONT
X2SPACE
specifies the drawing space of the annotation’s second X coordinate.
ARROW, LINE
Y1SPACE
specifies the drawing space of the annotation’s Y coordinate.
all except TEXTCONT
Y2SPACE
specifies the drawing space of the annotation’s second Y coordinate.
ARROW, LINE

Drawing Space Values

Here are the values that are used in the SG annotation data set to control the drawing space.
Note: For more information about the data, graph, layout, or wall areas, see About the Drawing Space.
DATAPERCENT
positioned and scaled as a percentage with respect to the data area.
DATAPIXEL
positioned and scaled as pixels with respect to the data area.
DATAVALUE
positioned and scaled with respect to the data values.
GRAPHPERCENT
positioned and scaled as a percentage of the graph area.
Note: GRAPHPERCENT is the default value.
GRAPHPIXEL
positioned and scaled as pixels with respect to the graph area.
LAYOUTPERCENT
positioned and scaled as a percentage of the layout area.
LAYOUTPIXEL
positioned and scaled as pixels with respect to the layout area.
WALLPERCENT
positioned and scaled as a percentage of the wall area.
WALLPIXEL
positioned and scaled as pixels with respect to the wall area.
Note: For the SGPANEL and SGSCATTER procedures, only GRAPHPERCENT, GRAPHPIXEL, LAYOUTPERCENT, and LAYOUTPIXEL values are valid.