我经常在 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 测试)