In the Save Script menu, To Data Table (All Objects) and To Script Window (All Objects) save a script for all levels of the By variable.
To turn on Automatic Recalc for a report window, click on the platform red triangle menu and select Redo > Automatic Recalc. To turn it off, deselect the same option. You can also turn on Automatic Recalc using JSL.
1.
Select Help > Sample Data Library and open Candy Bars.jmp.
2.
Select Graph > Graph Builder.
3.
Click Total fat g and drag to the X zone.
4.
Click Calories and drag to the Y zone.
5.
Click Cholesterol g and drag to the Wrap zone.
7.
Select Cholesterol g and click OK.
8.
Select Saturated fat g, Cholesterol g, Sodium mg, Carbohydrate g, Dietary fiber g, and Sugars g and click OK.
Column Switcher in Graph Builder Window
9.
Click the Play button to cycle between the different factors. Use the slider to control the speed of the animation. Alternatively, you can step through each factor individually.
You can see that the relationship between calories and fat is relatively strong for each level of carbohydrate. Therefore, Carbohydrate g appears to be the best predictor of calorie levels.

Help created on 9/19/2017