Exploring Data in Two Dimensions

Line Plots of Selected Variables

If one or more variables are selected in a data table when you select Graph \blacktriangleright\,Line Plot, then the line plot dialog box (Figure 6.12) does not appear. Instead, a line plot is created. The rules for constructing the line plot are as follows:

  1. If one variable is selected, create a line plot of y versus y.
  2. If exactly two variables are selected, the first is used as the Y variable and the second as the X variable.
  3. If there are k\gt 2 variables selected, then count the number of selected nominal variables.
    1. If no nominal variables are selected, create a line plot of (y_1, y_2,  ... , y_{k-1}) versus y_k.
    2. If there are nominal variables selected, then count the number of selected interval variables.
      1. If there are no interval variables selected, then plot the first selected variables as Y, plot the second selected variables as X, and use the remaining selected variables as group variables.
      2. If there is exactly one interval variable, then plot it as Y if it was chosen first, and otherwise plot it as X. The first nominal variable is assigned to the X or Y role, and the remaining selected variables are used as group variables.
      3. If there are exactly two interval variables, then plot the first selected interval variable as Y, plot the second as X, and use the remaining selected variables as group variables.
      4. If there are more than two interval variables, then ignore the nominal variables and plot the interval variables as in rule 1.

Variables with a Frequency or Weight role are ignored when you are creating line plots.

Previous Page | Next Page | Top of Page