1 Select Help > Sample Data Library and open Students.jmp.
 2 Select Graph > Graph Builder.
 3 Click height and drag and drop it into the X zone.
Example of a height Plot
 4 Click weight and drag and drop it into the Y zone.
Example of a Scatterplot of weight Versus height
 ‒ A smoother (line) shows the general pattern of weight as a function of height.
 ‒ A legend describes the elements on the graph (in this case, the smoother).
 5 Click sex and drag and drop it into the Group X zone.
Example of a Scatterplot for Each Level of the sex Variable
Side-by-side scatterplots (one for each level of sex) replace the initial scatterplot. You now see weight versus height for males and females.
Start from the graph in Example of a height Plot. Add the weight variable to the left of the height variable. Click weight and drag and drop it into the X axis, to the left of height.
Dragging and Dropping the weight Variable
To demonstrate combining two continuous variables, start from the graph in Example of a height Plot. Merge the weight variable with the height variable. Drag and drop weight to the center of the X zone, slightly above the axis. Before you drop the variable, a blue quadrilateral appears.
Merging height and weight
A graph element is added for weight that uses the same scale as height.
Example of weight Combined with height
 1 Select Help > Sample Data Library and open Cars.jmp.
 2 Select Graph > Graph Builder.
 3 Click Size and drag it into the X zone.
 4 Click Wt and drag and drop it just above the X axis. Before you drop the variable, a blue quadrilateral appears.
Example of Merging Wt and Size
The levels of Size are now ordered according to the average Wt of all vehicles in that level, in ascending order. Notice that mini and lightweight are now ordered before heavy. The axis label is updated, signifying that an ordering variable is in use.
To verify that Size is actually ordered by Wt, click on Wt under Variables and drag and drop it into the Y zone. Example of Size Ordered by Wt shows that the average Wt increases from the left to right.
Example of Size Ordered by Wt
 5 Right-click in the X zone.
 6 Deselect Ascending.
The default ordering statistic is the mean. To use another statistic, right-click in the X zone, select Order Statistic and change it to the statistic you want. To remove the ordering, select Remove Order.
 1 Select Help > Sample Data Library and open Popcorn.jmp.
 2 Select Graph > Graph Builder.
 3 Click popcorn and drag and drop it into Group X.
 4 Click yield and drag and drop it into the Y zone.
Example of yield by popcorn
 5 To place the batch variable above the popcorn variable, drag and drop batch into the left side of the Group X zone. Before you drop the variable, a left-justified blue polygon appears.
Example of Adding batch Above popcorn
 6 To place the batch variable below the popcorn variable, drag and drop batch into the right side of the Group X zone. Before you drop the variable, a right-justified blue polygon appears.
Example of Adding batch Below popcorn
 7
Examples of Popcorn yield Grouped by popcorn and batch
You can replace an existing variable with an incoming variable. To demonstrate replacing variables, start from the graph in Example of yield by popcorn. Replace popcorn with batch in the Group X zone. Drag and drop batch into the center of the Group X zone. Before you drop the variable, a blue quadrilateral appears.
Example of Replacing popcorn with batch
 1 Select Help > Sample Data Library and open Big Class.jmp.
 2 Select Graph > Graph Builder.
 3 Drag and drop height into the Y zone.
 4 Drag and drop sex into the Overlay zone.
 5 Click the Histogram element icon.
Example of Height by Sex
 1 Select Help > Sample Data Library and open Oil Use.jmp.
 2 Select Graph > Graph Builder.
 3 Drag and drop Country into the Y zone. You can resize the Graph Builder window and the graph if necessary.
Note: Notice that the default ordering for Country is ascending alphabetical (starting point is at the bottom). You can change the sorting order within a data table by using either the Value Ordering or Row Order Levels commands. For details, see the Using JMP book.
Example of Country Assigned to the Y Zone
 4 Drag and drop Production and Consumption to the X zone.
Example of Country versus Production and Consumption
 5 To change the points to bars, right-click on the graph and select Points > Change to > Bar.
Example of Side-by-Side Bars for Production and Consumption
 6 Change the default side-by-side bars to stacked bars by right-clicking on the graph and selecting Bar > Bar Style > Stacked.
Example of Stacked Bars for Production and Consumption
 7 Go back to the Oil Use.jmp sample data table.
 8 Double-click on an empty column heading to create a new column.
 9
 10 With the new column highlighted, select Cols > Formula.
 11 Click Consumption.
 12 Click +/-.
 13 Click OK.
 14 Select Graph > Graph Builder.
 15 Drag and drop Country into the Y zone. You can resize the Graph Builder window and the graph if necessary.
 16 Drag and drop Production and Negative Consumption to the X zone.
 17 Right-click on the graph and select Points > Change to > Bar.
 18 Right-click on the graph and select Bar > Bar Style > Stacked.
Example of Stacked Bars for Production and Negative Consumption
 19 Drag and drop Consumption into the graph, to the right of the Y zone.
Example of Dragging Consumption into the Y Axis
The Country variables are now ordered by Consumption.
Example of Country Organized by Consumption
 1 Select Help > Sample Data Library and open Popcorn.jmp.
 2 In the Tables panel at top left, click the red triangle next to Full Factorial Model and select Run Script.
 3 Click on the disclosure icon next to Effect Tests to open the report.
The popcorn*batch interaction has a small p-value (0.0026). From this, you conclude that there is a significant interaction between popcorn and batch.
Example of Effect Tests Output
 4 Save the model predictions to the data table. From the red triangle menu next to Response yield, select Save Columns > Prediction Formula.
 5 Save the prediction intervals to the data table. From the red triangle menu next to Response yield, select Save Columns > Mean Confidence Interval.
Notice that two new columns are added to the data table: Lower 95% Mean yield and Upper 95% Mean yield.
 6 Select Graph > Graph Builder.
 7
 ‒ Pred Formula yield
 ‒ Lower 95% Mean yield
 ‒ Upper 95% Mean yield
 8 Drag and drop popcorn into the X zone.
 9 Drag and drop batch into the Group X zone.
 10 Drag and drop oil amt into the Group Y zone.
 11
Example of Three Responses versus Three Factors
Format the graph to see interval bars for Lower 95% Mean yield and Upper 95% Mean yield, and to see points for Pred Formula yield.
 12
 13 Change the bar style to interval by right-clicking on the graph and selecting Bar > Bar Style > Interval.
The Interval Bar Style
The interval bar style currently spans from Lower 95% Mean yield to Pred Formula yield, but you want it to span up to Upper 95% Mean yield.
 14 Remove the bar element for Pred Formula yield by right-clicking on the graph and deselecting Bar > Y > Pred Formula yield.
Example of Correct Interval Span
Remove the point graph element for Lower 95% Mean yield and Upper 95% Mean yield.
 15 Right-click on the graph and select Points > Y, and deselect the Lower 95% Mean yield and Upper 95% Mean yield individually.
 16 Right-click on the graph, and select the XXL option under Graph > Marker Size. Do this for each quadrant of the graph.
Example of Predicted Values and Confidence Intervals
From Example of Predicted Values and Confidence Intervals, you can see the following relationships:
 • For large batches, there is no difference between plain and gourmet popcorn.
 • For small batches, the gourmet popcorn has a higher yield than the plain popcorn.
 • For the oil amount, the relationship is the same whether the oil amount is little or lots, so there is no three-way interaction.
 1 Select Help > Sample Data Library and open Diamonds Data.jmp.
 2 Select Graph > Graph Builder.
 3 Drag and drop Price into the Y zone.
 4 Drag and drop Carat Weight into the X zone.
Example of Points Showing Diamond Characteristics
 5 Right-click the plot and select Points > Change to > Contour.
Example of Contour Plot of Diamond Characteristics
 • Most people in the sample purchased diamonds with a carat weight of about 0.5, 0.75, and 1.0.
 • Most people who purchased diamonds with a carat weight of 0.5 paid about \$850-\$2,000.
 • Most people who purchased diamonds with a carat weight of 0.75 paid about \$1,600-\$2,700.
 • Most people who purchased diamonds with a carat weight of 1.0 paid about \$3,800-\$4,800.