SPSS Tutorials


SPSS – Create All Scatterplots Tool

Creating a scatterplot in SPSS is pretty straightforward. However, I sometimes like to take a quick look at all scatterplots among a set of variables. So I created a simple tool that creates all of them in one click.

SPSS All Scatterplots Tool

All Scatterplots Tool - Download and Install

  1. First off, make sure you have SPSS version 18 or higher with the SPSS Python Essentials properly installed and tested as the tool won't run without them.
  2. Next, download the SPSS All Scatterplots Tool.
  3. For SPSS versions 24 and higher, navigate to Extensions SPSS Menu Arrow Install local extension bundle as shown below.
    Earlier SPSS versions have something similar under the Utilities menu.
  4. Close off and restart SPSS if you're on version 23 or below.
SPSS 24 Install Local Extension Bundle

All Scatterplots Tool - How to Use?

If you successfully installed the tool, you'll find it in the Utilities menu. Just select one or many variables, click Paste and run the syntax.
Let's try that on adolscents.sav, a data file mainly holding psychological test scores on adolescents. Part of its variable view is shown below.

SPSS Adolescents Data Variable View

I'll select the last 5 variables. Clicking Paste results in the syntax below. Let's run it.

*Create all bivariate scatterplots between iq depr anxi soci and wellb.


*Same results, less syntax.


Note: you can shorten the variable specification somewhat by using TO or even ALL as shown in the second example.

All Scatterplots Tool - Result

Sure enough, running the syntax results in all 10 distinct scatterplots: for 5 variables, there's 5 * (5 -1) * 0.5 = 10 unique variable pairs. One of those is shown below.

SPSS Scatterplots Tool Example Bonus question: does this scatterplot show anything problematic?

All Scatterplots Tool - Final Notes

That's it. I hope you'll like this little tool as much as I do.

Thanks for reading!

Previous tutorial: SPSS Scatterplot Tutorial

Next tutorial: SPSS Confidence Intervals for Correlations Tool

Let me know what you think!

*Required field. Your comment will show up after approval from a moderator.

This tutorial has 1 comment!