The size and shape of
these cells affect the size and appearance of your graph since each
graphics element is drawn using units of cells. The size and shape
of the cells are determined by the size of the graphics output area.
They are also determined by the number of rows and columns that
SAS/GRAPH has defined in the grid.
You can control the number of rows by specifying the LROWS device
parameter (for a landscape orientation) or the PROWS device parameter
(for a portrait orientation). Similarly, the number of columns is
controlled by the LCOLS (landscape) or PCOLS (portrait) device parameter.
It is not recommended
that you change the number of rows and columns in the grid from the
default for your device. If you must do so, you can specify the HPOS=
and VPOS= graphics options. HPOS= overrides the value of LCOLS or
PCOLS and sets the number of columns in the graphics output area.
VPOS= overrides the value of LROWS or PROWS and sets the number of
rows in the graphics output area.
Changing only the number
of rows and columns (HPOS and VPOS) changes the size of the cells
without altering the overall size of the output.
Changing HPOS= and VPOS= Changes Cell Size shows how increasing
the number of rows and columns reduces the size of the individual
cells.
Suppose you use units
of CELLS to control the size of the text in your graph while also
changing the number of rows and columns. In this case the size of
the text changes. If the cells are large (that is, HPOS= and VPOS=
have small values), the text might not fit. If the cells are too
small, the text might be too small to read. In this case, you can
adjust the size of the text with the HEIGHT= statement option or the
HTEXT= graphics option.
Interaction of Graphics Options Affecting Cells
|
|
|
|
HPOS= and VPOS= (or
specify HPOS=0 and VPOS=0)
|
Changes the external
dimensions of the graphics output area and recalculates the number
of rows and columns in order to retain cell size and proportions.
|
|
|
Keeps the external dimensions
but changes the cell size according to the number of rows and columns.
|
HSIZE=, HPOS=, VSIZE=,
and VPOS=
|
|
Changes the dimensions
of the graphics output area, the number of rows and columns, and recalculates
the cell size.
|