You can represent different groups on a graph so that you can easily compare groups. For example, you can create a scatterplot of Weight vs. Height for women and Weight vs. Height for men. You have several options for displaying groups on graphs.

Minitab offers several ways to display groups on your graph; however, not all the options are available for all graphs or worksheet arrangements.

Overlaid groups are effective when you have relatively few categorical levels, or if relatively small differences are visible if the groups share the same graph.

To add groups to an existing graph:

- Double-click a data representation on the graph, for example, a symbol.
- Click the Groups tab and enter a categorical variable for grouping.

Paneling can be effective, for example, when you want to show the distinction between many categorical levels, or when data displays overlap (as with histograms).

To add panels to a graph:

- With the graph active, choose .
- Enter a variable to specify the panels.

Display each group on a separate graph when you want to examine one group at a time.

To create graphs of groups in separate Graph windows:

- In the dialog box for the graph you are creating, click Multiple Graphs.
- Do one of the following:
- If you have unstacked data, click the Multiple Variables tab and choose On separate graphs.
- If you have stacked data, click the By Variables tab and enter a grouping variable for groups on separate graphs.

In a worksheet, groups can be determined by a grouping variable (stacked data), or by separate columns for each group (unstacked data).

Groups are determined by a grouping variable; also known as a By variable. In the following worksheet, the grouping variable is Gender and the groups are Weight vs Height for Female (F) and Weight vs Height for Male (M).

C1 | C2 | C3-T |
---|---|---|

Height | Weight | Gender |

3.5 | 1.1 | M |

5.2 | 1.2 | F |

6.1 | 1.3 | M |

... | ... | .. |

Each column, or X-Y column pair for scatterplots, is a group. In the following worksheet, the groups are Weight Female vs Height Female and Weight Male vs Height Male.

C1 | C2 | C3 | C4 |
---|---|---|---|

Height Male | Height Female | Weight Male | Weight Female |

3.5 | 5.2 | 1.1 | 1.2 |

6.1 | 3.7 | 1.3 | 0.9 |

4.5 | 4.1 | 1.8 | 1.5 |

... | ... | ... | ... |