1.
Select Help > Sample Data Library and open Density Compare.jmp.
2.
From the Graph menu, select Overlay Plot.
3.
Assign gamma1, gamma3, and gamma5 as the Y variables.
4.
Assign Xgamma as the X variable.
5.
6.
Turn of the Show Points option by selecting Y Options > Show Points from the red triangle menu.
Function Plot
A second y-axis is useful for plotting data with different scales on the same plot, such as a stock’s closing price and its daily volume, or temperature and pressure. For example, consider plotting the selling price of an inexpensive stock against the Dow Jones Industrial Average.
1.
Select Help > Sample Data Library and open Stock Prices.jmp.
2.
From the Graph menu, select Overlay Plot.
3.
Assign High, Low, Close, and Volume as Y variables.
4.
Select Volume in the Y list and click Left Scale/Right Scale.
5.
Assign Date as the X variable.
6.
Dual Axis Overlay Plot
The variables High, Low, and Close are the stock prices of the same stock and thus are on the same scale. Volume is a different scale entirely, representing the trading volume of the entire Dow Jones Industrial Average.
Single Axis Overlay Plot
1.
Select Help > Sample Data Library and open Students.jmp.
2.
From the Graph menu, select Overlay Plot.
3.
Assign weight as the Y variable and height as the X variable.
4.
Assign age and sex as grouping variables.
5.
Grouped Plots Without Separate Axes
Select the Separate Axes option from the red triangle menu to produce plots that do not share axes. Compare Grouped Plots Without Separate Axes to Grouping Variables.
Grouping Variables