In the Scatterplot dialog box, complete the following steps to specify the data for your graph. If your data are arranged differently than described below, go to Choose a scatterplot.
In the following worksheet, each row contains the weight and height of one student. Weight is the Y variable and Height is the X variable. Gender is the group variable and indicates the gender of each student. The graph shows the relationship between height and weight for each gender.