Scatter Plot (Text-based)

 

Menu location: Graphics_Scatter (Text).

 

This function plots a Y axis (ordinate) variable against an X axis (abscissa) variable. The scale selection for the axes is automatic. Superimposed plot points are displayed as the number of plot points at one screen location provided this number is less than 10. If more than 9 plot points lie at one screen location then it is marked with the letter X. The graphics based version of this function allows you to display multiple Y series.

 

Example

Test workbook (Regression worksheet: % Increase, Birth Weight).

 

Consider the birth weights (oz) of 32 babies and their percentage increase in weight between 70 and 100 days after birth (Armitage and Berry, 1994), the data of the simple linear regression example.

 

To draw this plot in StatsDirect open the test workbook using the file open function of the file menu. Then select Scatter (Text) from the Graphics menu. Select the column marked "% Increase" when prompted for the Y axis data and the column marked "Birth Weight" when prompted for the X axis data, then accept the axis scales offered.

 

For this example the plot has 32 points: birth weight from 72 to 142 oz; gain from 27 to 120%. The axes take the titles of the columns and the chart is titled "Scatter plot":

 

                                    Scatter plot

    % Increase

         125.0+

              |         *

              |        *

              |            * *

              |

              |

         100.0+

              |

              |                                     *

              |             *      *      *                   *

              |

              |

              |                                               *     *

          75.0+                  *           **           *

              |  *                                     *   *

              |                                  **           *

              |                                               *

              |                                      *     *

              |                                         *                  *

          50.0+                                                2   *

              |

              |                                        *

              |

              |

              |                                      *

          25.0++-------+--------+-------+-------+--------+---*---+-------+-

               70      80       90      100     110      120     130     140

                                                                Birth Weight

 

The plot shows the percentage gain falling as birth weight rises: the four largest gains (111 to 120%) belong to babies of 80 to 87 oz, and most of the babies over 120 oz gained between 27 and 76%. The 2 marks two points in one cell of the grid (128 oz, with gains of 48% and 50%). The lowest point (27% at 125 oz) falls on the x axis line, where the scale starts, and is drawn over it so that no point is lost.