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
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
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
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
Example of Side-by-Side Bars for Production and Consumption
Example of Stacked Bars for Production and Consumption
7.
Go back to the Oil Use.jmp sample data table.
11.
Click Consumption.
12.
Click +/-.
13.
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
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.
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.
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.
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:
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