Create a histogram with groups

Graph > Histogram > With Groups

To create a histogram with groups, complete the steps for the option that best describes your data.

Groups are defined by values in categorical variables

Complete the following steps if your groups are defined by values in a grouping variable, or unique combinations of values in multiple grouping variables.

  1. In Graph variables, enter the numeric or date/time column that you want to graph.
  2. In Categorical variables for grouping (0-3), enter up to three columns that define the groups.

In this worksheet, Torque is the graph variable and Machine is the categorical variable for grouping. The graph shows the distribution of torque values for each machine.

C1 C2
Torque Machine
22 1
18 1
31 2
... ...

Groups are graph variables

Complete the following steps if you have multiple numeric or date/time columns and each column is a group.

  1. In Graph variables, enter multiple numeric or date/time columns that you want to graph.
  2. Select Graph variables form groups.

In this worksheet, Machine 1 and Machine 2 are the graph variables. Each variable forms a group. The graph shows the distribution of torque values for each machine.

C1 C2
Machine 1 Machine 2
14 24
18 27
27 17
... ...
By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy