This example uses the Hot Dogs.jmp sample data table. The Type column identifies three different types of hot dogs: beef, meat, or poultry. You want to group the three types of hot dogs according to their cost variables.
1.
Select Help > Sample Data Library and open Hot Dogs.jmp.
2.
Select Analyze > Fit Y by X.
3.
Select $/oz and click Y, Response.
4.
Select $/lb Protein and click X, Factor.
5.
8.
Click OK. If you look at the Group By option again, you see it has a check mark next to it.
9.
To color the points according to Type, proceed as follows:
11.
Select Type in the column list and click OK.
Example of Group By
The ellipses in Example of Group By show clearly how the different types of hot dogs cluster with respect to the cost variables.

Help created on 9/19/2017