我經常在 Graph Builder 中查看趨勢圖,並想了解多種不同因素如何影響趨勢。 所以我製作了我的趨勢圖並將變量 A 放入 Overlay 角色,但我真的想也將變量 B 添加到 Overlay 並並排查看這些圖。

目前,我所知道的最好的方法是做重做分析來製作第二個窗口,然後將變量 B 放入第二個窗口中的 Overlay 角色中。 但這對於管理多個窗口來說很笨拙 - 我希望在同一個窗口中擁有兩個圖。
目前有沒有辦法實現這一目標? 我正在使用 JMP Pro 14.3.0。
如果您願意編寫一些腳本,您可以使用新窗口和 hlist 框(或 Lineup box(),請參閱腳本索引如何使用):
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
nw = new window("",
H list box(
dt << Graph Builder(
Size(534, 464),
Show Control Panel(0),
Variables(X(:name), Y(:weight), Overlay(:age)),
Elements(Points(X, Y, Legend(10)), Smoother(X, Y, Legend(12))),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
10,
Base(0, 0, 0, Item ID("12", 1)),
Base(1, 0, 0, Item ID("13", 1)),
Base(2, 0, 0, Item ID("14", 1)),
Base(3, 0, 0, Item ID("15", 1)),
Base(4, 0, 0, Item ID("16", 1)),
Base(5, 0, 0, Item ID("17", 1))
)}
)
)
),
dt << Graph Builder(
Size(534, 464),
Show Control Panel(0),
Variables(X(:name), Y(:weight), Overlay(:sex)),
Elements(Points(X, Y, Legend(10)), Smoother(X, Y, Legend(12))),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
10,
Base(-1, 0, 0, Item ID("12", 1)),
Base(-1, 0, 0, Item ID("13", 1)),
Base(-1, 0, 0, Item ID("14", 1)),
Base(-1, 0, 0, Item ID("15", 1)),
Base(-1, 0, 0, Item ID("16", 1)),
Base(-1, 0, 0, Item ID("17", 1))
)}
)
)
)
)
);或創建儀表板。 首先創建兩個圖形構建器窗口,然後我認為您可以使用 File/New/Dashboard 或 Window/Combine Windows:


(用 JMP15.2.1 測試)