Tech Tip: Creating a Line Graph with Dual Y-Axes in IBM SPSS Statistics

10
Creating a Line Graph with Dual Y-Axes in IBM SPSS Statistics

Transcript of Tech Tip: Creating a Line Graph with Dual Y-Axes in IBM SPSS Statistics

Page 1: Tech Tip: Creating a Line Graph with Dual Y-Axes in IBM SPSS Statistics

Creating a Line Graph with

Dual Y-Axes

in IBM SPSS Statistics

Page 2: Tech Tip: Creating a Line Graph with Dual Y-Axes in IBM SPSS Statistics

Purpose of Dual Y-Axes Graph

2

Merging Two Line Graphs for Side-by-Side Comparative Purposes

Example: Comparing Beginning Salary with Current Salary for different Job Categories within a Company

Page 3: Tech Tip: Creating a Line Graph with Dual Y-Axes in IBM SPSS Statistics

Creating a Dual Y-Axes Graph

3

Dual Y Coordinates

Open the Chart Builder: Graphs > Chart Builder

Switch to the 'Basic Elements' tab

In the 'Choose Axes' section, drag the 'Dual Y Coordinates' to the palette

Page 4: Tech Tip: Creating a Line Graph with Dual Y-Axes in IBM SPSS Statistics

Creating a Dual Y-Axes Graph

4

Line

In the 'Choose Elements' section, drag the 'Line' element to the palette

Place your first variable (Beginning Salary) to the left Y-Axis

Page 5: Tech Tip: Creating a Line Graph with Dual Y-Axes in IBM SPSS Statistics

Creating a Dual Y-Axes Graph

5

In the Element Properties sub-window (which should now appear), you can

choose your variable statistic (Mean) by selecting the 'Line1' property

Page 6: Tech Tip: Creating a Line Graph with Dual Y-Axes in IBM SPSS Statistics

Creating a Dual Y-Axes Graph

6

Line

In the 'Choose Elements' section, drag the 'Line' element to the palette again

Place your second variable (Current Salary) to the right Y-Axis

Page 7: Tech Tip: Creating a Line Graph with Dual Y-Axes in IBM SPSS Statistics

Creating a Dual Y-Axes Graph

7

In the Element Properties sub-window (which should now appear), you can

choose the variable statistic (Mean) for the second line graph by selecting

the 'Line2' property

Page 8: Tech Tip: Creating a Line Graph with Dual Y-Axes in IBM SPSS Statistics

Creating a Dual Y-Axes Graph

8

Place your categorical variable (Employment Category) into the X-Axis

Select OK to generate your graph

Page 9: Tech Tip: Creating a Line Graph with Dual Y-Axes in IBM SPSS Statistics

Dual Y-Axis Graph created in Output Window

9

Following the procedure in the previous slides produces the below Dual Y-Axis

Graph