Dot Plot Examples (XGRAPH command)
A dot plot shows the value in one dimension (the x-axis) of each selected case. The variable on the x-axis can be scale or categorical.
XGRAPH CHART=([POINT]) BY jobcat[c].
- The chart shows cases represented as points.
- Cases are stacked at each jobcat value. So, if there are three categories for
jobcat
, there are only three stacks.XGRAPH CHART=([POINT]) BY salary[s].
- Cases are stacked at each salary value. The x-axis is a continuous range of values.
XGRAPH CHART=([POINT]) BY salary[s] /DISPLAY DOT=SYMMETRIC.
- Same as the previous example except the stacked dots are centered vertically in the chart.