AREA Subcommand (IGRAPH command)
AREA
creates
area charts. These charts summarize categories of one or more variables.
The following keywords are available:
summary function. Defines a
function used to summarize the variable defined on the Y subcommand. If the Y axis assignment is
$COUNT
or $PCT
, the AREA
subcommand
cannot have a summary function. If the Y
subcommand specifies TYPE=CATEGORICAL
, then AREA
can only specify
MODE
as the summary function.
POINTLABEL. Labels points
with the actual values corresponding to the dependent axis ( VAL
), the percentage of cases ( PCT
), and the number of cases
included in each data point ( N
). The default
is no labels.
AREALABEL. Labels area
with category labels ( CAT
), the percentage of cases ( PCT
), and the number of cases included in each line ( N
). The default is no labels.
BREAK. Indicates
whether the lines break at missing values ( MISSING
) or not
( NONE
).
BASELINE. The baseline value determines the location from which the areas will hang (vertical) or extend (horizontal). The default value is 0.
The INTERPOLATE
keyword determines how the lines connecting the points are drawn.
Options include:
STRAIGHT. Straight lines.
LSTEP. A horizontal line extends from each data point. A vertical riser connects the line to the next data point.
CSTEP. Each data point is centered on a horizontal line that extends half of the distance between consecutive points. Vertical risers connect the line to the next horizontal line.
RSTEP. A horizontal line terminates at each data point. A vertical riser extends from each data point, connecting to the next horizontal line.