3-D scatterplot
Plots three scale variables in a rotatable 3-D view (drag or Shift + arrow keys in the Chart Builder), with optional drop lines to the floor.
Menu: Graphs → More charts → 3-D scatterplot…
When should I use it?
- Exploring how three variables relate at once.
What are the assumptions?
- Three scale variables.
How do I run it in StatLab?
- Choose X, Y (vertical) and Z (depth), and an optional group.
How do I read the output?
| Output | Meaning |
|---|---|
| Points | Nearer points are drawn larger and on top. |
Worked example
On the practice survey dataset (File → Sample dataset), this command — which the dialog's Paste button also produces — runs the procedure:
PROC vizScatter3d /x=score /y=age /z=pre /color='' /dropLines=NO.
Computed by StatLab's validated procedure code when this page was built. The example only illustrates the steps; choose variables that fit your own research question.
What are common mistakes?
- Judging distances from a single static angle — rotate the view, or use a scatterplot matrix.